#21488F#21488F
#21488F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.126 H 261.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #21488F |
|---|---|
| RGB | rgb(33, 72, 143) |
| HSL | hsl(219, 63%, 35%) |
| HSV | hsv(219, 77%, 56%) |
| CMYK | cmyk(76.9%, 49.7%, 0%, 43.9%) |
| CIE-LAB | lab(31.67, 12.74, -43.31) |
| CIE-LCH | lch(31.67, 45.15, 286.39°) |
| OKLab | oklab(41.52% -0.0193 -0.1244) |
| OKLCH | oklch(41.52% 0.126 261.2) |
| XYZ | xyz(7.9007, 6.9403, 26.9045) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.36
Darkish Blue
#014182
ΔE00 3.39
Cobalt
#0047AB
ΔE00 3.77
Dusk Blue
#26538D
ΔE00 3.97
Twilight Blue
#0A437A
ΔE00 4.01
Light Navy
#155084
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21488F #8F6821
analogous
#217F8F #21488F #31218F
triadic
#21488F #8F2148 #488F21
tetradic
#21488F #8F217F #8F6821 #218F31
square
#21488F #8F217F #8F6821 #218F31
split-complementary
#21488F #8F3121 #7F8F21
monochromatic
#0A162C #162F5D #21488F #2C61C1 #5382D7
Accessibility & contrast
On white
8.79
#21488F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#21488F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21488F
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21488F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21488F | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #21488f; /* rgb */ color: rgb(33, 72, 143); /* oklch */ color: oklch(41.5% 0.126 261.2);
Tailwind
colors: {
custom: {
50: '#6d7ab0',
500: '#21488f',
950: '#000000',
},
}SCSS
$custom: #21488f; $custom-light: #6d7ab0; $custom-dark: #000000;
JSON
{
"hex": "#21488f",
"rgb": {
"r": 33,
"g": 72,
"b": 143
},
"hsl": {
"h": 218.727,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.41515,
"c": 0.1259,
"h": 261.2
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#21488F
secondary
#BB9551
accent
#AC42E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F