#21499E#21499E
#21499E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.146 H 262.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #21499E |
|---|---|
| RGB | rgb(33, 73, 158) |
| HSL | hsl(221, 65%, 37%) |
| HSV | hsv(221, 79%, 62%) |
| CMYK | cmyk(79.1%, 53.8%, 0%, 38%) |
| CIE-LAB | lab(33.04, 18.02, -50.22) |
| CIE-LCH | lch(33.04, 53.35, 289.74°) |
| OKLab | oklab(42.9% -0.0182 -0.1447) |
| OKLCH | oklch(42.9% 0.146 262.8) |
| XYZ | xyz(9.1791, 7.5560, 33.3158) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.06
Cobalt (survey)
#1E488F
ΔE00 2.27
Sapphire
#0F52BA
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 4.63
Darkish Blue
#014182
ΔE00 5.06
Twilight Blue
#0A437A
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21499E #9E7621
analogous
#21889E #21499E #38219E
triadic
#21499E #9E2149 #499E21
tetradic
#21499E #9E2188 #9E7621 #219E38
square
#21499E #9E2188 #9E7621 #219E38
split-complementary
#21499E #9E3821 #889E21
monochromatic
#0C1A39 #16326B #21499E #2C60D1 #5C86DD
Accessibility & contrast
On white
8.36
#21499E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#21499E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21499E
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21499E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21499E | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #21499e; /* rgb */ color: rgb(33, 73, 158); /* oklch */ color: oklch(42.9% 0.146 262.8);
Tailwind
colors: {
custom: {
50: '#707bbb',
500: '#21499e',
950: '#000000',
},
}SCSS
$custom: #21499e; $custom-light: #707bbb; $custom-dark: #000000;
JSON
{
"hex": "#21499e",
"rgb": {
"r": 33,
"g": 73,
"b": 158
},
"hsl": {
"h": 220.8,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.42903,
"c": 0.14585,
"h": 262.8
},
"luminance": 0.07557
}Semantic roles & 50–950 ramp
primary
#21499E
secondary
#C1A059
accent
#B23FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81