#004166
Closest named color: Marine Blue (#01386A). oklch(36% 0.086 242.4), rgb(0, 65, 102).
Aa
White text reads best on this color (10.78:1).
About this color
#004166 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.086 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.030 away. White text reads best on it, at 10.78:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.086) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.94:1 |
| White text | 10.78:1 |
Values
| HEX | #004166 |
| RGB | rgb(0, 65, 102) |
| HSL | hsl(202, 100%, 20%) |
| OKLCH | oklch(36% 0.086 242.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 #004166 | 10.78:1 | AAA | Lc -98.4 | Preferred for body text |
| Black text on #004166 | 1.94:1 | Fails | Lc 9.5 | Not readable |
| #004166 text on white | 10.78:1 | AAA | Lc 94.5 | Preferred for body text |
| #004166 text on black | 1.94:1 | Fails | Lc -8.1 | 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
#F1F6FB
oklch(97.1% 0.009 247.9)
-
Step 100
100
#E0ECF6
oklch(93.7% 0.019 243)
-
Step 200
200
#C5DDEF
oklch(88.5% 0.036 240.3)
-
Step 300
300
#9DC6E7
oklch(80.8% 0.064 242.9)
-
Step 400
400
#63A8DC
oklch(70.7% 0.104 242.7)
-
Step 500
500
#2E91D2
oklch(63.1% 0.132 242.5)
-
Step 600
600
#007ABA
oklch(55.6% 0.133 242.5)
-
Step 700
700
#00669D
oklch(49% 0.118 242.7)
-
Step 800
800
#005482
oklch(42.8% 0.102 242.4)
-
Step 900
900 (this color)
#004166
oklch(36% 0.086 242.4)
-
Step 950
950
#09293F
oklch(27% 0.055 243)
#004166 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) | #2F4268 | 0.039 |
| Deuteranopia (no green cones) | #213A65 | 0.028 |
| Tritanopia (no blue cones) | #004A4E | 0.058 |
| Achromatopsia (no color) | #3D3D3D | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #004166
#004166
oklch(36% 0.086 242.4)
- #5B3100
#5B3100
oklch(35.9% 0.083 61.8)
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 #004166, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.030
- Twilight Blue #0A437A ΔE 0.035
- Dark Grey Blue #29465B ΔE 0.042
- Prussian Blue #1D3557 ΔE 0.042
- Dark Blue Grey #1F3B4D ΔE 0.045
- Midnight Green #073B4C ΔE 0.046
- Charcoal #264653 ΔE 0.048
- Marine #042E60 ΔE 0.059
Use #004166 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.