#21408C#21408C
#21408C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.132 H 264.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #21408C |
|---|---|
| RGB | rgb(33, 64, 140) |
| HSL | hsl(223, 62%, 34%) |
| HSV | hsv(223, 76%, 55%) |
| CMYK | cmyk(76.4%, 54.3%, 0%, 45.1%) |
| CIE-LAB | lab(29.11, 17.03, -45.60) |
| CIE-LCH | lch(29.11, 48.67, 290.48°) |
| OKLab | oklab(39.5% -0.0129 -0.1313) |
| OKLCH | oklch(39.5% 0.132 264.4) |
| XYZ | xyz(7.1925, 5.8828, 25.5623) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.03
Darkish Blue
#014182
ΔE00 3.82
Cobalt
#0047AB
ΔE00 4.70
Twilight Blue
#0A437A
ΔE00 4.89
Sapphire (survey)
#2138AB
ΔE00 5.99
Marine Blue
#01386A
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21408C #8C6D21
analogous
#21768C #21408C #38218C
triadic
#21408C #8C2140 #408C21
tetradic
#21408C #8C2176 #8C6D21 #218C38
square
#21408C #8C2176 #8C6D21 #218C38
split-complementary
#21408C #8C3821 #768C21
monochromatic
#0A1329 #15295A #21408C #2D57BE #5178D6
Accessibility & contrast
On white
9.65
#21408C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#21408C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21408C
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21408C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21408C | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084A8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #21408c; /* rgb */ color: rgb(33, 64, 140); /* oklch */ color: oklch(39.5% 0.132 264.4);
Tailwind
colors: {
custom: {
50: '#6d74ae',
500: '#21408c',
950: '#000000',
},
}SCSS
$custom: #21408c; $custom-light: #6d74ae; $custom-dark: #000000;
JSON
{
"hex": "#21408c",
"rgb": {
"r": 33,
"g": 64,
"b": 140
},
"hsl": {
"h": 222.617,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.39497,
"c": 0.13191,
"h": 264.4
},
"luminance": 0.05884
}Semantic roles & 50–950 ramp
primary
#21408C
secondary
#B99B4F
accent
#B643E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F