#004EA8
Closest named color: Cobalt (#1E488F). oklch(44.1% 0.159 257.4), rgb(0, 78, 168).
Aa
White text reads best on this color (7.90:1).
About this color
#004EA8 is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.159 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.043 away. White text reads best on it, at 7.90:1.
| Hue family | Blues |
| Lightness | dark (44%) |
| Chroma | vivid (0.159) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.65:1 |
| White text | 7.90:1 |
Values
| HEX | #004EA8 |
| RGB | rgb(0, 78, 168) |
| HSL | hsl(212, 100%, 33%) |
| OKLCH | oklch(44.1% 0.159 257.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 #004EA8 | 7.90:1 | AAA | Lc -91.4 | Preferred for body text |
| Black text on #004EA8 | 2.65:1 | Fails | Lc 17.4 | Dividers and decoration only |
| #004EA8 text on white | 7.90:1 | AAA | Lc 86.6 | Fine for body text |
| #004EA8 text on black | 2.65:1 | Fails | Lc -15.4 | Dividers and decoration only |
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
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C4DBFC
oklch(88.5% 0.052 257.4)
-
Step 300
300
#9BC3FD
oklch(81% 0.093 257.6)
-
Step 400
400
#62A1FC
oklch(70.7% 0.149 257.6)
-
Step 500
500
#3186F9
oklch(63.1% 0.19 257.4)
-
Step 600
600
#006DE5
oklch(55.6% 0.201 257.4)
-
Step 700
700
#005BC2
oklch(49% 0.177 257.5)
-
Step 800
800 (this color)
#004EA8
oklch(44.1% 0.159 257.4)
-
Step 900
900
#0B3F82
oklch(37.8% 0.125 257.4)
-
Step 950
950
#09254C
oklch(26.9% 0.08 257.7)
#004EA8 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) | #0059AB | 0.030 |
| Deuteranopia (no green cones) | #004BA6 | 0.009 |
| Tritanopia (no blue cones) | #006473 | 0.119 |
| Achromatopsia (no color) | #515151 | 0.159 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #004EA8
#004EA8
oklch(44.1% 0.159 257.4)
- #6F4B00
#6F4B00
oklch(44.2% 0.092 77.2)
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 #004EA8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.043
- Dusk Blue #26538D ΔE 0.052
- Sapphire #2138AB ΔE 0.052
- Blue Blue #2242C7 ΔE 0.058
- Light Navy #155084 ΔE 0.060
- Deep Sea Blue #015482 ΔE 0.067
- Blueberry #464196 ΔE 0.067
- Denim Blue #3B5B92 ΔE 0.070
Use #004EA8 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.