#21458C#21458C
#21458C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.125 H 262.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #21458C |
|---|---|
| RGB | rgb(33, 69, 140) |
| HSL | hsl(220, 62%, 34%) |
| HSV | hsv(220, 76%, 55%) |
| CMYK | cmyk(76.4%, 50.7%, 0%, 45.1%) |
| CIE-LAB | lab(30.57, 13.59, -43.24) |
| CIE-LCH | lch(30.57, 45.32, 287.45°) |
| OKLab | oklab(40.61% -0.0171 -0.1242) |
| OKLCH | oklch(40.61% 0.125 262.2) |
| XYZ | xyz(7.4872, 6.4722, 25.6605) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.25
Darkish Blue
#014182
ΔE00 3.09
Twilight Blue
#0A437A
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.17
Dusk Blue
#26538D
ΔE00 4.96
Prussian Blue
#004577
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21458C #8C6821
analogous
#217B8C #21458C #33218C
triadic
#21458C #8C2145 #458C21
tetradic
#21458C #8C217B #8C6821 #218C33
square
#21458C #8C217B #8C6821 #218C33
split-complementary
#21458C #8C3321 #7B8C21
monochromatic
#0A1429 #152D5A #21458C #2D5DBE #517ED6
Accessibility & contrast
On white
9.15
#21458C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#21458C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21458C
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21458C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21458C | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4D8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21458c; /* rgb */ color: rgb(33, 69, 140); /* oklch */ color: oklch(40.6% 0.125 262.2);
Tailwind
colors: {
custom: {
50: '#6c78ae',
500: '#21458c',
950: '#000000',
},
}SCSS
$custom: #21458c; $custom-light: #6c78ae; $custom-dark: #000000;
JSON
{
"hex": "#21458c",
"rgb": {
"r": 33,
"g": 69,
"b": 140
},
"hsl": {
"h": 219.813,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.40608,
"c": 0.12542,
"h": 262.2
},
"luminance": 0.06473
}Semantic roles & 50–950 ramp
primary
#21458C
secondary
#B9964F
accent
#AE43E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F