#004879
Closest named color: Twilight Blue (#0A437A). oklch(39.1% 0.103 247.2), rgb(0, 72, 121).
Aa
White text reads best on this color (9.53:1).
About this color
#004879 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.103 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.015 away. White text reads best on it, at 9.53:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.103) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.20:1 |
| White text | 9.53:1 |
Values
| HEX | #004879 |
| RGB | rgb(0, 72, 121) |
| HSL | hsl(204, 100%, 24%) |
| OKLCH | oklch(39.1% 0.103 247.2) |
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 #004879 | 9.53:1 | AAA | Lc -95.8 | Preferred for body text |
| Black text on #004879 | 2.20:1 | Fails | Lc 12.5 | Not readable |
| #004879 text on white | 9.53:1 | AAA | Lc 91.5 | Preferred for body text |
| #004879 text on black | 2.20:1 | Fails | Lc -10.9 | 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
#F0F6FC
oklch(97% 0.01 247.9)
-
Step 100
100
#DEECF8
oklch(93.6% 0.022 243.8)
-
Step 200
200
#C3DCF5
oklch(88.4% 0.044 248.3)
-
Step 300
300
#98C6F1
oklch(80.9% 0.078 247.1)
-
Step 400
400
#5BA7EA
oklch(70.8% 0.124 247.2)
-
Step 500
500
#1A8FE3
oklch(63.2% 0.158 247)
-
Step 600
600
#0078C4
oklch(55.7% 0.147 247.1)
-
Step 700
700
#0064A5
oklch(49% 0.13 247.2)
-
Step 800
800
#005289
oklch(42.7% 0.113 247.3)
-
Step 900
900 (this color)
#004879
oklch(39.1% 0.103 247.2)
-
Step 950
950
#042844
oklch(26.9% 0.065 247)
#004879 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) | #304B7B | 0.037 |
| Deuteranopia (no green cones) | #1D4178 | 0.023 |
| Tritanopia (no blue cones) | #00545A | 0.074 |
| Achromatopsia (no color) | #454545 | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #004879
#004879
oklch(39.1% 0.103 247.2)
- #633B00
#633B00
oklch(39.2% 0.086 68)
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 #004879, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.015
- Light Navy #155084 ΔE 0.032
- Deep Sea Blue #015482 ΔE 0.038
- Cobalt #1E488F ΔE 0.042
- Marine Blue #01386A ΔE 0.052
- Dusk Blue #26538D ΔE 0.053
- Dark Grey Blue #29465B ΔE 0.055
- Charcoal #264653 ΔE 0.066
Use #004879 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.