#21418F#21418F
#21418F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.135 H 264.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #21418F |
|---|---|
| RGB | rgb(33, 65, 143) |
| HSL | hsl(223, 63%, 35%) |
| HSV | hsv(223, 77%, 56%) |
| CMYK | cmyk(76.9%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(29.63, 17.53, -46.61) |
| CIE-LCH | lch(29.63, 49.80, 290.61°) |
| OKLab | oklab(39.96% -0.0134 -0.1342) |
| OKLCH | oklch(39.96% 0.135 264.3) |
| XYZ | xyz(7.4737, 6.0863, 26.7622) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.78
Darkish Blue
#014182
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.23
Twilight Blue
#0A437A
ΔE00 4.99
Sapphire (survey)
#2138AB
ΔE00 5.80
Blueberry
#464196
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21418F #8F6F21
analogous
#21788F #21418F #38218F
triadic
#21418F #8F2141 #418F21
tetradic
#21418F #8F2178 #8F6F21 #218F38
square
#21418F #8F2178 #8F6F21 #218F38
split-complementary
#21418F #8F3821 #788F21
monochromatic
#0A142C #162A5D #21418F #2C58C1 #537AD7
Accessibility & contrast
On white
9.47
#21418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#21418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21418F
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21418F | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#064B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #21418f; /* rgb */ color: rgb(33, 65, 143); /* oklch */ color: oklch(40.0% 0.135 264.3);
Tailwind
colors: {
custom: {
50: '#6d75b0',
500: '#21418f',
950: '#000000',
},
}SCSS
$custom: #21418f; $custom-light: #6d75b0; $custom-dark: #000000;
JSON
{
"hex": "#21418f",
"rgb": {
"r": 33,
"g": 65,
"b": 143
},
"hsl": {
"h": 222.545,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.39959,
"c": 0.13491,
"h": 264.3
},
"luminance": 0.06087
}Semantic roles & 50–950 ramp
primary
#21418F
secondary
#BB9C51
accent
#B642E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80