#21249C#21249C
#21249C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.187 H 271.0°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #21249C |
|---|---|
| RGB | rgb(33, 36, 156) |
| HSL | hsl(239, 65%, 37%) |
| HSV | hsv(239, 79%, 61%) |
| CMYK | cmyk(78.8%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(23.62, 41.34, -64.43) |
| CIE-LCH | lch(23.62, 76.55, 302.68°) |
| OKLab | oklab(35.91% 0.0034 -0.1866) |
| OKLCH | oklch(35.91% 0.187 271) |
| XYZ | xyz(7.2568, 3.9846, 31.8327) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.24
Cobalt Blue
#030AA7
ΔE00 4.60
Indigo Blue
#3A18B1
ΔE00 4.60
Royal Blue (survey)
#0504AA
ΔE00 5.15
Ultramarine
#2000B1
ΔE00 5.52
Sapphire (survey)
#2138AB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21249C #9C9921
analogous
#21619C #21249C #5C219C
triadic
#21249C #9C2124 #249C21
tetradic
#21249C #9C2161 #9C9921 #219C5C
square
#21249C #9C2161 #9C9921 #219C5C
split-complementary
#21249C #9C5C21 #619C21
monochromatic
#0C0D37 #161869 #21249C #2C30CF #5B5EDC
Accessibility & contrast
On white
11.69
#21249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#21249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21249C
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21249C | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #21249c; /* rgb */ color: rgb(33, 36, 156); /* oklch */ color: oklch(35.9% 0.187 271.0);
Tailwind
colors: {
custom: {
50: '#7360ba',
500: '#21249c',
950: '#000000',
},
}SCSS
$custom: #21249c; $custom-light: #7360ba; $custom-dark: #000000;
JSON
{
"hex": "#21249c",
"rgb": {
"r": 33,
"g": 36,
"b": 156
},
"hsl": {
"h": 238.537,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.35913,
"c": 0.18659,
"h": 271
},
"luminance": 0.03985
}Semantic roles & 50–950 ramp
primary
#21249C
secondary
#C1BE58
accent
#E440E8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981