#21199E#21199E
#21199E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.198 H 271.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #21199E |
|---|---|
| RGB | rgb(33, 25, 158) |
| HSL | hsl(244, 73%, 36%) |
| HSV | hsv(244, 84%, 62%) |
| CMYK | cmyk(79.1%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(21.90, 47.67, -68.51) |
| CIE-LCH | lch(21.90, 83.47, 304.83°) |
| OKLab | oklab(34.78% 0.0063 -0.1982) |
| OKLCH | oklch(34.78% 0.198 271.8) |
| XYZ | xyz(7.1443, 3.4864, 32.6375) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.16
Cobalt Blue
#030AA7
ΔE00 2.48
Royal Blue (survey)
#0504AA
ΔE00 2.99
Ultramarine
#2000B1
ΔE00 3.46
Indigo Blue
#3A18B1
ΔE00 3.69
Darkblue
#00008B
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21199E #969E19
analogous
#19539E #21199E #63199E
triadic
#21199E #9E2119 #199E21
tetradic
#21199E #9E1953 #969E19 #199E63
square
#21199E #9E1953 #969E19 #199E63
split-complementary
#21199E #9E6319 #539E19
monochromatic
#0B0834 #161169 #21199E #2C21D3 #574EE3
Accessibility & contrast
On white
12.37
#21199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#21199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21199E
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21199E | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #21199e; /* rgb */ color: rgb(33, 25, 158); /* oklch */ color: oklch(34.8% 0.198 271.8);
Tailwind
colors: {
custom: {
50: '#755abc',
500: '#21199e',
950: '#000000',
},
}SCSS
$custom: #21199e; $custom-light: #755abc; $custom-dark: #000000;
JSON
{
"hex": "#21199e",
"rgb": {
"r": 33,
"g": 25,
"b": 158
},
"hsl": {
"h": 243.609,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.34776,
"c": 0.19833,
"h": 271.8
},
"luminance": 0.03487
}Semantic roles & 50–950 ramp
primary
#21199E
secondary
#BEC54E
accent
#EF38E4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981