#21249F#21249F
#21249F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.190 H 270.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #21249F |
|---|---|
| RGB | rgb(33, 36, 159) |
| HSL | hsl(239, 66%, 38%) |
| HSV | hsv(239, 79%, 62%) |
| CMYK | cmyk(79.2%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(23.96, 42.36, -65.70) |
| CIE-LCH | lch(23.96, 78.17, 302.81°) |
| OKLab | oklab(36.25% 0.0028 -0.1903) |
| OKLCH | oklch(36.25% 0.19 270.9) |
| XYZ | xyz(7.5140, 4.0874, 33.1871) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.42
Indigo Blue
#3A18B1
ΔE00 4.29
Cobalt Blue
#030AA7
ΔE00 4.48
Royal Blue (survey)
#0504AA
ΔE00 5.01
Ultramarine
#2000B1
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21249F #9F9C21
analogous
#21639F #21249F #5D219F
triadic
#21249F #9F2124 #249F21
tetradic
#21249F #9F2163 #9F9C21 #219F5D
square
#21249F #9F2163 #9F9C21 #219F5D
split-complementary
#21249F #9F5D21 #639F21
monochromatic
#0C0D3A #16196C #21249F #2C2FD2 #5D60DD
Accessibility & contrast
On white
11.55
#21249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#21249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21249F
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21249F | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #21249f; /* rgb */ color: rgb(33, 36, 159); /* oklch */ color: oklch(36.3% 0.190 270.9);
Tailwind
colors: {
custom: {
50: '#7461bd',
500: '#21249f',
950: '#000000',
},
}SCSS
$custom: #21249f; $custom-light: #7461bd; $custom-dark: #000000;
JSON
{
"hex": "#21249f",
"rgb": {
"r": 33,
"g": 36,
"b": 159
},
"hsl": {
"h": 238.571,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.36252,
"c": 0.19028,
"h": 270.9
},
"luminance": 0.04088
}Semantic roles & 50–950 ramp
primary
#21249F
secondary
#C2BF5A
accent
#E53FE9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981