#004E9D
Closest named color: Cobalt (#1E488F). oklch(43.2% 0.145 255.4), rgb(0, 78, 157).
Aa
White text reads best on this color (8.15:1).
About this color
#004E9D is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.145 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.028 away. White text reads best on it, at 8.15:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | vivid (0.145) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.57:1 |
| White text | 8.15:1 |
Values
| HEX | #004E9D |
| RGB | rgb(0, 78, 157) |
| HSL | hsl(210, 100%, 31%) |
| OKLCH | oklch(43.2% 0.145 255.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #004E9D | 8.15:1 | AAA | Lc -92.2 | Preferred for body text |
| Black text on #004E9D | 2.57:1 | Fails | Lc 16.5 | Dividers and decoration only |
| #004E9D text on white | 8.15:1 | AAA | Lc 87.5 | Fine for body text |
| #004E9D text on black | 2.57:1 | Fails | Lc -14.7 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#DFEBFA
oklch(93.6% 0.024 254)
-
Step 200
200
#C5DBF8
oklch(88.4% 0.047 255.4)
-
Step 300
300
#9CC3F7
oklch(80.8% 0.085 255.8)
-
Step 400
400
#64A3F3
oklch(70.8% 0.135 255.1)
-
Step 500
500
#3589EF
oklch(63.1% 0.173 255.5)
-
Step 600
600
#0070DC
oklch(55.6% 0.186 255.4)
-
Step 700
700
#005EBB
oklch(49.1% 0.165 255.5)
-
Step 800
800 (this color)
#004E9D
oklch(43.2% 0.145 255.4)
-
Step 900
900
#0E417B
oklch(37.8% 0.111 255.1)
-
Step 950
950
#0B2648
oklch(26.9% 0.071 255.8)
#004E9D with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #1B56A0 | 0.028 |
| Deuteranopia (no green cones) | #00499B | 0.014 |
| Tritanopia (no blue cones) | #00616E | 0.107 |
| Achromatopsia (no color) | #4F4F4F | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #004E9D
#004E9D
oklch(43.2% 0.145 255.4)
- #6D4800
#6D4800
oklch(43.3% 0.091 75.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #004E9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.028
- Dusk Blue #26538D ΔE 0.038
- Light Navy #155084 ΔE 0.043
- Deep Sea Blue #015482 ΔE 0.051
- Sapphire #2138AB ΔE 0.059
- Light Navy Blue #2E5A88 ΔE 0.061
- Twilight Blue #0A437A ΔE 0.063
- Denim Blue #3B5B92 ΔE 0.064
Use #004E9D in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.