#21489F#21489F
#21489F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.148 H 263.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #21489F |
|---|---|
| RGB | rgb(33, 72, 159) |
| HSL | hsl(221, 66%, 38%) |
| HSV | hsv(221, 79%, 62%) |
| CMYK | cmyk(79.2%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(32.83, 19.09, -51.16) |
| CIE-LCH | lch(32.83, 54.60, 290.46°) |
| OKLab | oklab(42.77% -0.0173 -0.1475) |
| OKLCH | oklch(42.77% 0.149 263.3) |
| XYZ | xyz(9.2003, 7.4602, 33.7492) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.94
Cobalt (survey)
#1E488F
ΔE00 2.52
Sapphire
#0F52BA
ΔE00 4.61
Dusk Blue
#26538D
ΔE00 5.04
Darkish Blue
#014182
ΔE00 5.18
Twilight Blue
#0A437A
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21489F #9F7821
analogous
#21879F #21489F #39219F
triadic
#21489F #9F2148 #489F21
tetradic
#21489F #9F2187 #9F7821 #219F39
square
#21489F #9F2187 #9F7821 #219F39
split-complementary
#21489F #9F3921 #879F21
monochromatic
#0C1A3A #16316C #21489F #2C5FD2 #5D85DD
Accessibility & contrast
On white
8.43
#21489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#21489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21489F
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21489F | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #21489f; /* rgb */ color: rgb(33, 72, 159); /* oklch */ color: oklch(42.8% 0.148 263.3);
Tailwind
colors: {
custom: {
50: '#717abc',
500: '#21489f',
950: '#000000',
},
}SCSS
$custom: #21489f; $custom-light: #717abc; $custom-dark: #000000;
JSON
{
"hex": "#21489f",
"rgb": {
"r": 33,
"g": 72,
"b": 159
},
"hsl": {
"h": 221.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.42769,
"c": 0.1485,
"h": 263.3
},
"luminance": 0.07461
}Semantic roles & 50–950 ramp
primary
#21489F
secondary
#C2A25A
accent
#B43FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81