#21488E#21488E
#21488E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.124 H 261.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #21488E |
|---|---|
| RGB | rgb(33, 72, 142) |
| HSL | hsl(219, 62%, 34%) |
| HSV | hsv(219, 77%, 56%) |
| CMYK | cmyk(76.8%, 49.3%, 0%, 44.3%) |
| CIE-LAB | lab(31.60, 12.34, -42.81) |
| CIE-LCH | lch(31.60, 44.55, 286.08°) |
| OKLab | oklab(41.44% -0.0194 -0.1229) |
| OKLCH | oklch(41.44% 0.124 261) |
| XYZ | xyz(7.8253, 6.9102, 26.5073) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.33
Darkish Blue
#014182
ΔE00 3.30
Twilight Blue
#0A437A
ΔE00 3.89
Cobalt
#0047AB
ΔE00 3.90
Dusk Blue
#26538D
ΔE00 3.93
Light Navy
#155084
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21488E #8E6721
analogous
#217F8E #21488E #31218E
triadic
#21488E #8E2148 #488E21
tetradic
#21488E #8E217F #8E6721 #218E31
square
#21488E #8E217F #8E6721 #218E31
split-complementary
#21488E #8E3121 #7F8E21
monochromatic
#0A162B #152F5C #21488E #2D61C0 #5282D7
Accessibility & contrast
On white
8.82
#21488E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#21488E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21488E
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21488E | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #21488e; /* rgb */ color: rgb(33, 72, 142); /* oklch */ color: oklch(41.4% 0.124 261.0);
Tailwind
colors: {
custom: {
50: '#6d7aaf',
500: '#21488e',
950: '#000000',
},
}SCSS
$custom: #21488e; $custom-light: #6d7aaf; $custom-dark: #000000;
JSON
{
"hex": "#21488e",
"rgb": {
"r": 33,
"g": 72,
"b": 142
},
"hsl": {
"h": 218.532,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.41439,
"c": 0.12446,
"h": 261
},
"luminance": 0.06911
}Semantic roles & 50–950 ramp
primary
#21488E
secondary
#BA9450
accent
#AB42E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F