#21428C#21428C
#21428C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.129 H 263.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #21428C |
|---|---|
| RGB | rgb(33, 66, 140) |
| HSL | hsl(221, 62%, 34%) |
| HSV | hsv(221, 76%, 55%) |
| CMYK | cmyk(76.4%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(29.69, 15.65, -44.66) |
| CIE-LCH | lch(29.69, 47.32, 289.31°) |
| OKLab | oklab(39.94% -0.0145 -0.1285) |
| OKLCH | oklch(39.94% 0.129 263.5) |
| XYZ | xyz(7.3074, 6.1124, 25.6006) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.31
Darkish Blue
#014182
ΔE00 3.43
Cobalt
#0047AB
ΔE00 4.42
Twilight Blue
#0A437A
ΔE00 4.44
Prussian Blue
#004577
ΔE00 5.92
Dusk Blue
#26538D
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21428C #8C6B21
analogous
#21788C #21428C #35218C
triadic
#21428C #8C2142 #428C21
tetradic
#21428C #8C2178 #8C6B21 #218C35
square
#21428C #8C2178 #8C6B21 #218C35
split-complementary
#21428C #8C3521 #788C21
monochromatic
#0A1329 #152B5A #21428C #2D59BE #517AD6
Accessibility & contrast
On white
9.45
#21428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#21428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21428C
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21428C | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #21428c; /* rgb */ color: rgb(33, 66, 140); /* oklch */ color: oklch(39.9% 0.129 263.5);
Tailwind
colors: {
custom: {
50: '#6c75ae',
500: '#21428c',
950: '#000000',
},
}SCSS
$custom: #21428c; $custom-light: #6c75ae; $custom-dark: #000000;
JSON
{
"hex": "#21428c",
"rgb": {
"r": 33,
"g": 66,
"b": 140
},
"hsl": {
"h": 221.495,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.39937,
"c": 0.1293,
"h": 263.5
},
"luminance": 0.06113
}Semantic roles & 50–950 ramp
primary
#21428C
secondary
#B9994F
accent
#B343E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F