#21244D
Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.074 277.3), rgb(33, 36, 77).
Aa
White text reads best on this color (14.74:1).
About this color
#21244D is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.074 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.037 away. White text reads best on it, at 14.74:1.
| Hue family | Blues |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.074) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.42:1 |
| White text | 14.74:1 |
Values
| HEX | #21244D |
| RGB | rgb(33, 36, 77) |
| HSL | hsl(236, 40%, 22%) |
| OKLCH | oklch(28.2% 0.074 277.3) |
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 #21244D | 14.74:1 | AAA | Lc -104.3 | Preferred for body text |
| Black text on #21244D | 1.42:1 | Fails | Lc 0.0 | Not readable |
| #21244D text on white | 14.74:1 | AAA | Lc 101.5 | Preferred for body text |
| #21244D text on black | 1.42: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
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E5E9FB
oklch(93.6% 0.025 275.9)
-
Step 200
200
#D1D7FA
oklch(88.6% 0.049 277.7)
-
Step 300
300
#B2BCFA
oklch(81% 0.088 277.1)
-
Step 400
400
#8C96F7
oklch(70.6% 0.141 277.7)
-
Step 500
500
#7279F3
oklch(63.1% 0.179 277.5)
-
Step 600
600
#5C5EE2
oklch(55.5% 0.196 277.3)
-
Step 700
700
#4D4DC4
oklch(49.2% 0.181 277.4)
-
Step 800
800
#3E409F
oklch(42.7% 0.151 277)
-
Step 900
900
#34377E
oklch(37.6% 0.118 277.3)
-
Step 950
950 (this color)
#21244D
oklch(28.2% 0.074 277.3)
#21244D 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) | #112A4E | 0.026 |
| Deuteranopia (no green cones) | #0D264C | 0.026 |
| Tritanopia (no blue cones) | #0E2D34 | 0.066 |
| Achromatopsia (no color) | #282828 | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #21244D
#21244D
oklch(28.2% 0.074 277.3)
- #312900
#312900
oklch(28.1% 0.058 97.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 #21244D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.037
- Space Cadet #2B2D42 ΔE 0.043
- Marine #042E60 ΔE 0.048
- Prussian Blue #1D3557 ΔE 0.053
- Dark #1B2431 ΔE 0.054
- Gunmetal #293241 ΔE 0.058
- Dark Indigo #1F0954 ΔE 0.065
- Jet #212529 ΔE 0.069
Use #21244D 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.