#21199C#21199C
#21199C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.196 H 272.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #21199C |
|---|---|
| RGB | rgb(33, 25, 156) |
| HSL | hsl(244, 72%, 35%) |
| HSV | hsv(244, 84%, 61%) |
| CMYK | cmyk(78.8%, 84%, 0%, 38.8%) |
| CIE-LAB | lab(21.65, 47.05, -67.70) |
| CIE-LCH | lch(21.65, 82.45, 304.80°) |
| OKLab | oklab(34.53% 0.0068 -0.1959) |
| OKLCH | oklch(34.53% 0.196 272) |
| XYZ | xyz(6.9736, 3.4181, 31.7383) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.95
Cobalt Blue
#030AA7
ΔE00 2.58
Royal Blue (survey)
#0504AA
ΔE00 3.11
Ultramarine
#2000B1
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 3.91
Darkblue
#00008B
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21199C #949C19
analogous
#19529C #21199C #62199C
triadic
#21199C #9C2119 #199C21
tetradic
#21199C #9C1952 #949C19 #199C62
square
#21199C #9C1952 #949C19 #199C62
split-complementary
#21199C #9C6219 #529C19
monochromatic
#0B0833 #161167 #21199C #2C21D1 #564DE2
Accessibility & contrast
On white
12.47
#21199C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#21199C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21199C
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21199C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21199C | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002D9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #21199c; /* rgb */ color: rgb(33, 25, 156); /* oklch */ color: oklch(34.5% 0.196 272.0);
Tailwind
colors: {
custom: {
50: '#745abb',
500: '#21199c',
950: '#000000',
},
}SCSS
$custom: #21199c; $custom-light: #745abb; $custom-dark: #000000;
JSON
{
"hex": "#21199c",
"rgb": {
"r": 33,
"g": 25,
"b": 156
},
"hsl": {
"h": 243.664,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.34533,
"c": 0.196,
"h": 272
},
"luminance": 0.03419
}Semantic roles & 50–950 ramp
primary
#21199C
secondary
#BDC44C
accent
#EF39E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981