#21358F#21358F
#21358F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.150 H 268.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21358F |
|---|---|
| RGB | rgb(33, 53, 143) |
| HSL | hsl(229, 63%, 35%) |
| HSV | hsv(229, 77%, 56%) |
| CMYK | cmyk(76.9%, 62.9%, 0%, 43.9%) |
| CIE-LAB | lab(26.31, 25.78, -52.01) |
| CIE-LCH | lch(26.31, 58.05, 296.36°) |
| OKLab | oklab(37.47% -0.0043 -0.1503) |
| OKLCH | oklch(37.47% 0.15 268.4) |
| XYZ | xyz(6.8565, 4.8520, 26.5564) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.10
Blueberry
#464196
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.29
Cobalt (survey)
#1E488F
ΔE00 6.99
Cobalt
#0047AB
ΔE00 7.04
Darkish Blue
#014182
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21358F #8F7B21
analogous
#216C8F #21358F #44218F
triadic
#21358F #8F2135 #358F21
tetradic
#21358F #8F216C #8F7B21 #218F44
square
#21358F #8F216C #8F7B21 #218F44
split-complementary
#21358F #8F4421 #6C8F21
monochromatic
#0A102C #16235D #21358F #2C47C1 #536BD7
Accessibility & contrast
On white
10.66
#21358F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#21358F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21358F
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21358F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21358F | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #21358f; /* rgb */ color: rgb(33, 53, 143); /* oklch */ color: oklch(37.5% 0.150 268.4);
Tailwind
colors: {
custom: {
50: '#6e6cb1',
500: '#21358f',
950: '#000000',
},
}SCSS
$custom: #21358f; $custom-light: #6e6cb1; $custom-dark: #000000;
JSON
{
"hex": "#21358f",
"rgb": {
"r": 33,
"g": 53,
"b": 143
},
"hsl": {
"h": 229.091,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.3747,
"c": 0.15036,
"h": 268.4
},
"luminance": 0.04853
}Semantic roles & 50–950 ramp
primary
#21358F
secondary
#BBA851
accent
#C842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80