#04478C
Closest named color: Cobalt (#1E488F). oklch(40.3% 0.13 255), rgb(4, 71, 140).
Aa
White text reads best on this color (9.18:1).
About this color
#04478C is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.130 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.016 away. White text reads best on it, at 9.18:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.130) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.28:1 |
| White text | 9.18:1 |
Values
| HEX | #04478C |
| RGB | rgb(4, 71, 140) |
| HSL | hsl(210, 94%, 28%) |
| OKLCH | oklch(40.3% 0.13 255) |
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 #04478C | 9.18:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #04478C | 2.28:1 | Fails | Lc 13.4 | Not readable |
| #04478C text on white | 9.18:1 | AAA | Lc 90.5 | Preferred for body text |
| #04478C text on black | 2.28:1 | Fails | Lc -11.8 | 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
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E0EBF9
oklch(93.6% 0.022 254.4)
-
Step 200
200
#C7DBF5
oklch(88.5% 0.042 255)
-
Step 300
300
#A0C3F1
oklch(80.8% 0.076 255.4)
-
Step 400
400
#6BA3EB
oklch(70.7% 0.122 255.2)
-
Step 500
500
#408AE4
oklch(63% 0.155 255)
-
Step 600
600
#1A72D2
oklch(55.6% 0.168 254.9)
-
Step 700
700
#0A5FB6
oklch(49.1% 0.156 254.9)
-
Step 800
800 (this color)
#04478C
oklch(40.3% 0.13 255)
-
Step 900
900
#164276
oklch(37.9% 0.101 254.9)
-
Step 950
950
#0E2745
oklch(27.1% 0.064 254.6)
#04478C 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) | #1E4E8F | 0.027 |
| Deuteranopia (no green cones) | #00428B | 0.015 |
| Tritanopia (no blue cones) | #005862 | 0.098 |
| Achromatopsia (no color) | #484848 | 0.130 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #04478C
#04478C
oklch(40.3% 0.13 255)
- #634100
#634100
oklch(40.4% 0.085 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 #04478C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.016
- Twilight Blue #0A437A ΔE 0.031
- Light Navy #155084 ΔE 0.033
- Dusk Blue #26538D ΔE 0.044
- Deep Sea Blue #015482 ΔE 0.045
- Sapphire #2138AB ΔE 0.065
- Blueberry #464196 ΔE 0.066
- Light Navy Blue #2E5A88 ΔE 0.068
Use #04478C 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.