#213170
Closest named color: Marine Blue (#01386A). oklch(33.9% 0.111 269), rgb(33, 49, 112).
Aa
White text reads best on this color (12.08:1).
About this color
#213170 is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.111 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.032 away. White text reads best on it, at 12.08:1.
| Hue family | Blues |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.111) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.73:1 |
| White text | 12.08:1 |
Values
| HEX | #213170 |
| RGB | rgb(33, 49, 112) |
| HSL | hsl(228, 54%, 28%) |
| OKLCH | oklch(33.9% 0.111 269) |
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 #213170 | 12.08:1 | AAA | Lc -100.9 | Preferred for body text |
| Black text on #213170 | 1.73:1 | Fails | Lc 0.0 | Not readable |
| #213170 text on white | 12.08:1 | AAA | Lc 97.3 | Preferred for body text |
| #213170 text on black | 1.73: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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFB
oklch(93.7% 0.024 267.9)
-
Step 200
200
#CCD9F9
oklch(88.6% 0.046 267.9)
-
Step 300
300
#ABBFF7
oklch(80.9% 0.083 269.3)
-
Step 400
400
#7F9CF3
oklch(70.8% 0.132 268.9)
-
Step 500
500
#6080EF
oklch(63.1% 0.17 269)
-
Step 600
600
#4966DE
oklch(55.6% 0.186 269.3)
-
Step 700
700
#3B54C0
oklch(49% 0.171 269.2)
-
Step 800
800
#30469C
oklch(42.8% 0.142 268.8)
-
Step 900
900 (this color)
#213170
oklch(33.9% 0.111 269)
-
Step 950
950
#192348
oklch(26.9% 0.07 269.8)
#213170 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) | #053A72 | 0.030 |
| Deuteranopia (no green cones) | #00336F | 0.026 |
| Tritanopia (no blue cones) | #00404B | 0.091 |
| Achromatopsia (no color) | #363636 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #213170
#213170
oklch(33.9% 0.111 269)
- #463500
#463500
oklch(33.8% 0.069 88.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 #213170, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.032
- Marine #042E60 ΔE 0.041
- Prussian Blue #1D3557 ΔE 0.048
- Twilight Blue #0A437A ΔE 0.052
- Midnight Blue #191970 ΔE 0.061
- Dark Blue Grey #1F3B4D ΔE 0.074
- Cobalt #1E488F ΔE 0.079
- Midnight Green #073B4C ΔE 0.080
Use #213170 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.