#21489C#21489C
#21489C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.144 H 263.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #21489C |
|---|---|
| RGB | rgb(33, 72, 156) |
| HSL | hsl(221, 65%, 37%) |
| HSV | hsv(221, 79%, 61%) |
| CMYK | cmyk(78.8%, 53.8%, 0%, 38.8%) |
| CIE-LAB | lab(32.61, 17.90, -49.71) |
| CIE-LCH | lch(32.61, 52.84, 289.81°) |
| OKLab | oklab(42.53% -0.0176 -0.1432) |
| OKLCH | oklch(42.53% 0.144 263) |
| XYZ | xyz(8.9432, 7.3573, 32.3948) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.09
Cobalt
#0047AB
ΔE00 2.22
Dusk Blue
#26538D
ΔE00 4.79
Darkish Blue
#014182
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 4.85
Twilight Blue
#0A437A
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21489C #9C7521
analogous
#21859C #21489C #38219C
triadic
#21489C #9C2148 #489C21
tetradic
#21489C #9C2185 #9C7521 #219C38
square
#21489C #9C2185 #9C7521 #219C38
split-complementary
#21489C #9C3821 #859C21
monochromatic
#0C1937 #163169 #21489C #2C5FCF #5B84DC
Accessibility & contrast
On white
8.50
#21489C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#21489C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21489C
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21489C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21489C | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #21489c; /* rgb */ color: rgb(33, 72, 156); /* oklch */ color: oklch(42.5% 0.144 263.0);
Tailwind
colors: {
custom: {
50: '#707aba',
500: '#21489c',
950: '#000000',
},
}SCSS
$custom: #21489c; $custom-light: #707aba; $custom-dark: #000000;
JSON
{
"hex": "#21489c",
"rgb": {
"r": 33,
"g": 72,
"b": 156
},
"hsl": {
"h": 220.976,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.42527,
"c": 0.14432,
"h": 263
},
"luminance": 0.07358
}Semantic roles & 50–950 ramp
primary
#21489C
secondary
#C1A058
accent
#B340E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81