#022F71
Closest named color: Marine (#042E60). oklch(32.4% 0.123 259.2), rgb(2, 47, 113).
Aa
White text reads best on this color (12.74:1).
About this color
#022F71 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.123 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.030 away. White text reads best on it, at 12.74:1.
| Hue family | Blues |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.123) |
| Temperature | cool |
| Nearest name | Marine (#042E60) |
| Black text | 1.64:1 |
| White text | 12.74:1 |
Values
| HEX | #022F71 |
| RGB | rgb(2, 47, 113) |
| HSL | hsl(216, 97%, 23%) |
| OKLCH | oklch(32.4% 0.123 259.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 #022F71 | 12.74:1 | AAA | Lc -101.6 | Preferred for body text |
| Black text on #022F71 | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #022F71 text on white | 12.74:1 | AAA | Lc 98.2 | Preferred for body text |
| #022F71 text on black | 1.64: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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C5DBFC
oklch(88.6% 0.051 258.4)
-
Step 300
300
#9DC2FD
oklch(80.9% 0.093 259.6)
-
Step 400
400
#66A0FC
oklch(70.7% 0.149 259.3)
-
Step 500
500
#3A85F9
oklch(63.1% 0.189 259.1)
-
Step 600
600
#136BE8
oklch(55.6% 0.205 259.2)
-
Step 700
700
#0258CA
oklch(49.1% 0.191 259.3)
-
Step 800
800
#0949A3
oklch(42.7% 0.158 259.1)
-
Step 900
900 (this color)
#022F71
oklch(32.4% 0.123 259.2)
-
Step 950
950
#0C254C
oklch(27% 0.079 259.2)
#022F71 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) | #003773 | 0.023 |
| Deuteranopia (no green cones) | #002E70 | 0.004 |
| Tritanopia (no blue cones) | #00404B | 0.094 |
| Achromatopsia (no color) | #323232 | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #022F71
#022F71
oklch(32.4% 0.123 259.2)
- #462F00
#462F00
oklch(32.4% 0.067 79.2)
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 #022F71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine #042E60 ΔE 0.030
- Marine Blue #01386A ΔE 0.030
- Midnight Blue #191970 ΔE 0.052
- Prussian Blue #1D3557 ΔE 0.056
- Twilight Blue #0A437A ΔE 0.061
- Royal #0C1793 ΔE 0.072
- Midnight Green #073B4C ΔE 0.081
- Dark Blue Grey #1F3B4D ΔE 0.083
Use #022F71 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.