#212F50
Closest named color: Prussian Blue (#1D3557). oklch(31% 0.063 265.5), rgb(33, 47, 80).
Aa
White text reads best on this color (13.23:1).
About this color
#212F50 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.063 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.020 away. White text reads best on it, at 13.23:1.
| Hue family | Blues |
| Lightness | dark (31%) |
| Chroma | muted (0.063) |
| Temperature | cool |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.58:1 |
| White text | 13.23:1 |
Values
| HEX | #212F50 |
| RGB | rgb(33, 47, 80) |
| HSL | hsl(222, 42%, 22%) |
| OKLCH | oklch(31% 0.063 265.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 #212F50 | 13.23:1 | AAA | Lc -102.7 | Preferred for body text |
| Black text on #212F50 | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #212F50 text on white | 13.23:1 | AAA | Lc 99.5 | Preferred for body text |
| #212F50 text on black | 1.58: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
#F2F5FC
oklch(97% 0.01 267.4)
-
Step 100
100
#E3EAF9
oklch(93.6% 0.022 265.8)
-
Step 200
200
#CCD9F5
oklch(88.4% 0.041 265.7)
-
Step 300
300
#AAC0F1
oklch(80.8% 0.074 265.9)
-
Step 400
400
#7D9EEB
oklch(70.6% 0.119 265.8)
-
Step 500
500
#5D84E4
oklch(63% 0.151 265.6)
-
Step 600
600
#446CD2
oklch(55.6% 0.164 265.3)
-
Step 700
700
#3659B6
oklch(49% 0.153 265.5)
-
Step 800
800
#2D4994
oklch(42.7% 0.128 265.8)
-
Step 900
900
#283E76
oklch(37.7% 0.1 265.7)
-
Step 950
950 (this color)
#212F50
oklch(31% 0.063 265.5)
#212F50 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) | #223251 | 0.010 |
| Deuteranopia (no green cones) | #1C2E4F | 0.008 |
| Tritanopia (no blue cones) | #08363B | 0.056 |
| Achromatopsia (no color) | #303030 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #212F50
#212F50
oklch(31% 0.063 265.5)
- #3F2D01
#3F2D01
oklch(31% 0.063 84.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 #212F50, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.020
- Space Cadet #2B2D42 ΔE 0.028
- Gunmetal #293241 ΔE 0.033
- Marine #042E60 ΔE 0.039
- Dark Blue Grey #1F3B4D ΔE 0.041
- Midnight Green #073B4C ΔE 0.045
- Oxford Blue #1B263B ΔE 0.046
- Marine Blue #01386A ΔE 0.052
Use #212F50 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.