#004887
Closest named color: Cobalt (#1E488F). oklch(40.1% 0.122 252.6), rgb(0, 72, 135).
Aa
White text reads best on this color (9.22:1).
About this color
#004887 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.122 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.022 away. White text reads best on it, at 9.22:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.122) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.27:1 |
| White text | 9.22:1 |
Values
| HEX | #004887 |
| RGB | rgb(0, 72, 135) |
| HSL | hsl(208, 100%, 26%) |
| OKLCH | oklch(40.1% 0.122 252.6) |
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 #004887 | 9.22:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #004887 | 2.27:1 | Fails | Lc 13.4 | Not readable |
| #004887 text on white | 9.22:1 | AAA | Lc 90.6 | Preferred for body text |
| #004887 text on black | 2.27:1 | Fails | Lc -11.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 900.
-
Step 50
50
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DEEBFC
oklch(93.5% 0.027 255.1)
-
Step 200
200
#C2DCFB
oklch(88.5% 0.051 252.9)
-
Step 300
300
#96C5FB
oklch(81% 0.092 252.4)
-
Step 400
400
#57A4F9
oklch(70.7% 0.147 252.6)
-
Step 500
500
#0F8AF6
oklch(63.1% 0.187 252.6)
-
Step 600
600
#0073D2
oklch(55.5% 0.17 252.7)
-
Step 700
700
#0061B2
oklch(49.2% 0.149 252.5)
-
Step 800
800
#004F93
oklch(42.7% 0.13 252.6)
-
Step 900
900 (this color)
#004887
oklch(40.1% 0.122 252.6)
-
Step 950
950
#03274B
oklch(27.1% 0.078 252.5)
#004887 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) | #254D89 | 0.029 |
| Deuteranopia (no green cones) | #024286 | 0.017 |
| Tritanopia (no blue cones) | #005761 | 0.088 |
| Achromatopsia (no color) | #474747 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #004887
#004887
oklch(40.1% 0.122 252.6)
- #643F00
#643F00
oklch(40.1% 0.086 72.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #004887
These curated palettes and gradients contain exactly #004887. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.022
- Twilight Blue #0A437A ΔE 0.024
- Light Navy #155084 ΔE 0.028
- Deep Sea Blue #015482 ΔE 0.039
- Dusk Blue #26538D ΔE 0.043
- Marine Blue #01386A ΔE 0.065
- Light Navy Blue #2E5A88 ΔE 0.066
- Blueberry #464196 ΔE 0.071
Use #004887 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.