#21358E#21358E
#21358E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.149 H 268.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #21358E |
|---|---|
| RGB | rgb(33, 53, 142) |
| HSL | hsl(229, 62%, 34%) |
| HSV | hsv(229, 77%, 56%) |
| CMYK | cmyk(76.8%, 62.7%, 0%, 44.3%) |
| CIE-LAB | lab(26.22, 25.39, -51.54) |
| CIE-LCH | lch(26.22, 57.45, 296.23°) |
| OKLab | oklab(37.38% -0.0043 -0.1489) |
| OKLCH | oklch(37.38% 0.149 268.3) |
| XYZ | xyz(6.7811, 4.8218, 26.1593) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Blueberry
#464196
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.28
Cobalt (survey)
#1E488F
ΔE00 6.95
Darkish Blue
#014182
ΔE00 7.04
Cobalt
#0047AB
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21358E #8E7A21
analogous
#216C8E #21358E #44218E
triadic
#21358E #8E2135 #358E21
tetradic
#21358E #8E216C #8E7A21 #218E44
square
#21358E #8E216C #8E7A21 #218E44
split-complementary
#21358E #8E4421 #6C8E21
monochromatic
#0A102B #15225C #21358E #2D48C0 #526BD7
Accessibility & contrast
On white
10.69
#21358E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#21358E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21358E
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21358E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21358E | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #21358e; /* rgb */ color: rgb(33, 53, 142); /* oklch */ color: oklch(37.4% 0.149 268.3);
Tailwind
colors: {
custom: {
50: '#6e6cb0',
500: '#21358e',
950: '#000000',
},
}SCSS
$custom: #21358e; $custom-light: #6e6cb0; $custom-dark: #000000;
JSON
{
"hex": "#21358e",
"rgb": {
"r": 33,
"g": 53,
"b": 142
},
"hsl": {
"h": 228.991,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.37377,
"c": 0.14897,
"h": 268.3
},
"luminance": 0.04823
}Semantic roles & 50–950 ramp
primary
#21358E
secondary
#BAA750
accent
#C742E5
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80