#004777
Closest named color: Twilight Blue (#0A437A). oklch(38.7% 0.102 247), rgb(0, 71, 119).
Aa
White text reads best on this color (9.68:1).
About this color
#004777 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.102 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.014 away. White text reads best on it, at 9.68:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.102) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.16:1 |
| White text | 9.68:1 |
Values
| HEX | #004777 |
| RGB | rgb(0, 71, 119) |
| HSL | hsl(204, 100%, 23%) |
| OKLCH | oklch(38.7% 0.102 247) |
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 #004777 | 9.68:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #004777 | 2.16:1 | Fails | Lc 12.1 | Not readable |
| #004777 text on white | 9.68:1 | AAA | Lc 91.9 | Preferred for body text |
| #004777 text on black | 2.16:1 | Fails | Lc -10.5 | 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
#DFECF8
oklch(93.7% 0.021 245.9)
-
Step 200
200
#C3DCF4
oklch(88.4% 0.043 247.2)
-
Step 300
300
#99C6F0
oklch(80.9% 0.076 247)
-
Step 400
400
#5CA7E8
oklch(70.7% 0.122 246.7)
-
Step 500
500
#1D8FE2
oklch(63.2% 0.156 247)
-
Step 600
600
#0078C3
oklch(55.7% 0.146 246.8)
-
Step 700
700
#0064A5
oklch(49% 0.13 247.2)
-
Step 800
800
#005288
oklch(42.7% 0.112 246.9)
-
Step 900
900 (this color)
#004777
oklch(38.7% 0.102 247)
-
Step 950
950
#052844
oklch(26.9% 0.065 247.5)
#004777 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) | #2F4A79 | 0.037 |
| Deuteranopia (no green cones) | #1D4076 | 0.024 |
| Tritanopia (no blue cones) | #005359 | 0.072 |
| Achromatopsia (no color) | #444444 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #004777
#004777
oklch(38.7% 0.102 247)
- #623A00
#623A00
oklch(38.8% 0.085 67.6)
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 #004777, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.014
- Light Navy #155084 ΔE 0.036
- Deep Sea Blue #015482 ΔE 0.042
- Cobalt #1E488F ΔE 0.045
- Marine Blue #01386A ΔE 0.049
- Dark Grey Blue #29465B ΔE 0.052
- Dusk Blue #26538D ΔE 0.057
- Charcoal #264653 ΔE 0.064
Use #004777 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.