#212F53
Closest named color: Prussian Blue (#1D3557). oklch(31.2% 0.068 266.5), rgb(33, 47, 83).
Aa
White text reads best on this color (13.15:1).
About this color
#212F53 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.068 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.019 away. White text reads best on it, at 13.15:1.
| Hue family | Blues |
| Lightness | dark (31%) |
| Chroma | muted (0.068) |
| Temperature | cool |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.59:1 |
| White text | 13.15:1 |
Values
| HEX | #212F53 |
| RGB | rgb(33, 47, 83) |
| HSL | hsl(223, 43%, 23%) |
| OKLCH | oklch(31.2% 0.068 266.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 #212F53 | 13.15:1 | AAA | Lc -102.6 | Preferred for body text |
| Black text on #212F53 | 1.59:1 | Fails | Lc 0.0 | Not readable |
| #212F53 text on white | 13.15:1 | AAA | Lc 99.4 | Preferred for body text |
| #212F53 text on black | 1.59: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 950.
-
Step 50
50
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFA
oklch(93.6% 0.023 266.9)
-
Step 200
200
#CCD9F7
oklch(88.5% 0.044 266.9)
-
Step 300
300
#A9C0F5
oklch(80.9% 0.079 266.4)
-
Step 400
400
#7C9DF0
oklch(70.6% 0.128 266.7)
-
Step 500
500
#5C82EB
oklch(63% 0.163 266.8)
-
Step 600
600
#4369DA
oklch(55.6% 0.178 266.6)
-
Step 700
700
#3557BD
oklch(49.1% 0.165 266.4)
-
Step 800
800
#2C4899
oklch(42.8% 0.137 266.3)
-
Step 900
900
#273D7A
oklch(37.7% 0.107 266.4)
-
Step 950
950 (this color)
#212F53
oklch(31.2% 0.068 266.5)
#212F53 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) | #203354 | 0.012 |
| Deuteranopia (no green cones) | #1A2E52 | 0.010 |
| Tritanopia (no blue cones) | #05373D | 0.060 |
| Achromatopsia (no color) | #303030 | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #212F53
#212F53
oklch(31.2% 0.068 266.5)
- #3F2E00
#3F2E00
oklch(31.2% 0.064 86.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 #212F53, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.019
- Space Cadet #2B2D42 ΔE 0.033
- Marine #042E60 ΔE 0.035
- Gunmetal #293241 ΔE 0.038
- Dark Blue Grey #1F3B4D ΔE 0.043
- Midnight Green #073B4C ΔE 0.048
- Marine Blue #01386A ΔE 0.048
- Oxford Blue #1B263B ΔE 0.050
Use #212F53 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.