#003871
Closest named color: Marine Blue (#01386A). oklch(34.5% 0.112 254.5), rgb(0, 56, 113).
Aa
White text reads best on this color (11.64:1).
About this color
#003871 is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.112 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.012 away. White text reads best on it, at 11.64:1.
| Hue family | Blues |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.80:1 |
| White text | 11.64:1 |
Values
| HEX | #003871 |
| RGB | rgb(0, 56, 113) |
| HSL | hsl(210, 100%, 22%) |
| OKLCH | oklch(34.5% 0.112 254.5) |
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 #003871 | 11.64:1 | AAA | Lc -99.9 | Preferred for body text |
| Black text on #003871 | 1.80:1 | Fails | Lc 7.8 | Not readable |
| #003871 text on white | 11.64:1 | AAA | Lc 96.1 | Preferred for body text |
| #003871 text on black | 1.80:1 | Fails | Lc 0.0 | 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
#F0F6FD
oklch(97.1% 0.011 252.1)
-
Step 100
100
#DFEBFA
oklch(93.6% 0.024 254)
-
Step 200
200
#C5DBF8
oklch(88.4% 0.047 255.4)
-
Step 300
300
#9CC4F6
oklch(80.9% 0.083 254.3)
-
Step 400
400
#63A3F2
oklch(70.7% 0.134 254.6)
-
Step 500
500
#328AEE
oklch(63.2% 0.171 254.4)
-
Step 600
600
#0071D9
oklch(55.6% 0.181 254.6)
-
Step 700
700
#005FB8
oklch(49.1% 0.16 254.6)
-
Step 800
800
#004D98
oklch(42.6% 0.139 254.8)
-
Step 900
900 (this color)
#003871
oklch(34.5% 0.112 254.5)
-
Step 950
950
#0A2748
oklch(27.1% 0.07 254.2)
#003871 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) | #163E73 | 0.025 |
| Deuteranopia (no green cones) | #003470 | 0.012 |
| Tritanopia (no blue cones) | #00464F | 0.083 |
| Achromatopsia (no color) | #383838 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #003871
#003871
oklch(34.5% 0.112 254.5)
- #4F3200
#4F3200
oklch(34.4% 0.073 73.9)
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 #003871, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.012
- Twilight Blue #0A437A ΔE 0.036
- Marine #042E60 ΔE 0.040
- Prussian Blue #1D3557 ΔE 0.047
- Midnight Green #073B4C ΔE 0.068
- Dark Blue Grey #1F3B4D ΔE 0.069
- Cobalt #1E488F ΔE 0.072
- Dark Grey Blue #29465B ΔE 0.073
Use #003871 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.