#21458E#21458E
#21458E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.128 H 262.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #21458E |
|---|---|
| RGB | rgb(33, 69, 142) |
| HSL | hsl(220, 62%, 34%) |
| HSV | hsv(220, 77%, 56%) |
| CMYK | cmyk(76.8%, 51.4%, 0%, 44.3%) |
| CIE-LAB | lab(30.72, 14.39, -44.24) |
| CIE-LCH | lch(30.72, 46.52, 288.01°) |
| OKLab | oklab(40.76% -0.0168 -0.1272) |
| OKLCH | oklch(40.76% 0.128 262.5) |
| XYZ | xyz(7.6361, 6.5317, 26.4442) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.29
Darkish Blue
#014182
ΔE00 3.29
Cobalt
#0047AB
ΔE00 3.92
Twilight Blue
#0A437A
ΔE00 4.15
Dusk Blue
#26538D
ΔE00 5.03
Prussian Blue
#004577
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21458E #8E6A21
analogous
#217C8E #21458E #33218E
triadic
#21458E #8E2145 #458E21
tetradic
#21458E #8E217C #8E6A21 #218E33
square
#21458E #8E217C #8E6A21 #218E33
split-complementary
#21458E #8E3321 #7C8E21
monochromatic
#0A152B #152D5C #21458E #2D5DC0 #527ED7
Accessibility & contrast
On white
9.10
#21458E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#21458E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21458E
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21458E | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21458e; /* rgb */ color: rgb(33, 69, 142); /* oklch */ color: oklch(40.8% 0.128 262.5);
Tailwind
colors: {
custom: {
50: '#6d78b0',
500: '#21458e',
950: '#000000',
},
}SCSS
$custom: #21458e; $custom-light: #6d78b0; $custom-dark: #000000;
JSON
{
"hex": "#21458e",
"rgb": {
"r": 33,
"g": 69,
"b": 142
},
"hsl": {
"h": 220.183,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.40762,
"c": 0.1283,
"h": 262.5
},
"luminance": 0.06533
}Semantic roles & 50–950 ramp
primary
#21458E
secondary
#BA9750
accent
#B042E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F