#21299E#21299E
#21299E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.184 H 270.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #21299E |
|---|---|
| RGB | rgb(33, 41, 158) |
| HSL | hsl(236, 65%, 37%) |
| HSV | hsv(236, 79%, 62%) |
| CMYK | cmyk(79.1%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(24.88, 39.10, -63.57) |
| CIE-LCH | lch(24.88, 74.63, 301.60°) |
| OKLab | oklab(36.87% 0.0011 -0.1841) |
| OKLCH | oklch(36.87% 0.184 270.3) |
| XYZ | xyz(7.5896, 4.3770, 32.7860) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.39
Royal
#0C1793
ΔE00 4.40
Indigo Blue
#3A18B1
ΔE00 5.18
Cobalt Blue
#030AA7
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 6.24
Ultramarine
#2000B1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21299E #9E9621
analogous
#21689E #21299E #58219E
triadic
#21299E #9E2129 #299E21
tetradic
#21299E #9E2168 #9E9621 #219E58
square
#21299E #9E2168 #9E9621 #219E58
split-complementary
#21299E #9E5821 #689E21
monochromatic
#0C0F39 #161C6B #21299E #2C36D1 #5C65DD
Accessibility & contrast
On white
11.20
#21299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#21299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21299E
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21299E | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #21299e; /* rgb */ color: rgb(33, 41, 158); /* oklch */ color: oklch(36.9% 0.184 270.3);
Tailwind
colors: {
custom: {
50: '#7364bc',
500: '#21299e',
950: '#000000',
},
}SCSS
$custom: #21299e; $custom-light: #7364bc; $custom-dark: #000000;
JSON
{
"hex": "#21299e",
"rgb": {
"r": 33,
"g": 41,
"b": 158
},
"hsl": {
"h": 236.16,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.36874,
"c": 0.1841,
"h": 270.3
},
"luminance": 0.04378
}Semantic roles & 50–950 ramp
primary
#21299E
secondary
#C1BB59
accent
#DE3FE8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81