#00008B color codes
- HEX
- #00008B
- HEX8
- #00008BFF
- HEX8 (Android)
- #FF00008B
- RGB
- rgb(0, 0, 139)
- RGB (%)
- 0%, 0%, 55%
- HSL
- hsl(240, 100%, 27%)
- HSV / HSB
- hsv(240, 100%, 55%)
- CMYK
- cmyk(100%, 100%, 0%, 45%)
- OKLCH
- oklch(0.2878 0.1994 264.05)
- OKLCH (%)
- oklch(28.78% 0.1994 264.05)
- Decimal
- 139
What color is #00008B?
#00008B sits at 29% lightness and 0.1994 chroma in OKLCH, hue 264.05°. Its nearest named color is DarkBlue (an exact match).
Shades and tints of #00008B
Tints
Shades
Tones
#00008B color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #00008B in CSS
.text { color: #00008B; }
.background { background-color: #00008B; }
.border { border: 2px solid #00008B; }
/* Modern, perceptually uniform */
.text { color: oklch(0.2878 0.1994 264.05); }
/* #00008B at 50% transparency */
.overlay { background-color: #00008B80; }Is #00008B accessible?
#00008B on white text scores 15.30:1; on black text it scores 1.37:1. White text passes WCAG AAA on #00008B. Recommended text color on a #00008B background: white.
A 1.37:1 vs black
A 15.3:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#00008B) → white APCA Lc experimental 103.1 Lc · body text — preferred (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.
Frequently asked questions
- What color is #00008B?
- #00008B is DarkBlue. In RGB it is rgb(0, 0, 139), and in HSL hsl(240, 100%, 27%).
- What is #00008B in RGB?
- #00008B converts to rgb(0, 0, 139) — red 0, green 0, blue 139.
- What text color is readable on #00008B?
- White text — it has the higher contrast ratio (15.30:1) against #00008B. White text passes WCAG AAA on #00008B.