#21428F#21428F
#21428F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.134 H 263.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #21428F |
|---|---|
| RGB | rgb(33, 66, 143) |
| HSL | hsl(222, 63%, 35%) |
| HSV | hsv(222, 77%, 56%) |
| CMYK | cmyk(76.9%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(29.92, 16.84, -46.14) |
| CIE-LCH | lch(29.92, 49.12, 290.05°) |
| OKLab | oklab(40.18% -0.0142 -0.1329) |
| OKLCH | oklch(40.18% 0.134 263.9) |
| XYZ | xyz(7.5316, 6.2021, 26.7815) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.42
Darkish Blue
#014182
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.09
Twilight Blue
#0A437A
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 6.05
Dusk Blue
#26538D
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21428F #8F6E21
analogous
#21798F #21428F #37218F
triadic
#21428F #8F2142 #428F21
tetradic
#21428F #8F2179 #8F6E21 #218F37
square
#21428F #8F2179 #8F6E21 #218F37
split-complementary
#21428F #8F3721 #798F21
monochromatic
#0A142C #162B5D #21428F #2C59C1 #537BD7
Accessibility & contrast
On white
9.37
#21428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#21428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21428F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21428F | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #21428f; /* rgb */ color: rgb(33, 66, 143); /* oklch */ color: oklch(40.2% 0.134 263.9);
Tailwind
colors: {
custom: {
50: '#6d75b0',
500: '#21428f',
950: '#000000',
},
}SCSS
$custom: #21428f; $custom-light: #6d75b0; $custom-dark: #000000;
JSON
{
"hex": "#21428f",
"rgb": {
"r": 33,
"g": 66,
"b": 143
},
"hsl": {
"h": 222,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.40177,
"c": 0.13362,
"h": 263.9
},
"luminance": 0.06203
}Semantic roles & 50–950 ramp
primary
#21428F
secondary
#BB9B51
accent
#B542E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80