#21359F#21359F
#21359F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.172 H 268.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #21359F |
|---|---|
| RGB | rgb(33, 53, 159) |
| HSL | hsl(230, 66%, 38%) |
| HSV | hsv(230, 79%, 62%) |
| CMYK | cmyk(79.2%, 66.7%, 0%, 37.6%) |
| CIE-LAB | lab(27.77, 31.88, -59.42) |
| CIE-LCH | lch(27.77, 67.43, 298.21°) |
| OKLab | oklab(38.99% -0.0049 -0.172) |
| OKLCH | oklch(38.99% 0.172 268.4) |
| XYZ | xyz(8.1561, 5.3718, 33.4012) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.81
Blueberry
#464196
ΔE00 5.75
Blue Blue
#2242C7
ΔE00 6.35
Cobalt
#0047AB
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 6.78
Ocean Blue
#4F42B5
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21359F #9F8B21
analogous
#21749F #21359F #4C219F
triadic
#21359F #9F2135 #359F21
tetradic
#21359F #9F2174 #9F8B21 #219F4C
square
#21359F #9F2174 #9F8B21 #219F4C
split-complementary
#21359F #9F4C21 #749F21
monochromatic
#0C133A #16246C #21359F #2C46D2 #5D71DD
Accessibility & contrast
On white
10.12
#21359F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#21359F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21359F
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21359F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21359F | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #21359f; /* rgb */ color: rgb(33, 53, 159); /* oklch */ color: oklch(39.0% 0.172 268.4);
Tailwind
colors: {
custom: {
50: '#726cbc',
500: '#21359f',
950: '#000000',
},
}SCSS
$custom: #21359f; $custom-light: #726cbc; $custom-dark: #000000;
JSON
{
"hex": "#21359f",
"rgb": {
"r": 33,
"g": 53,
"b": 159
},
"hsl": {
"h": 230.476,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38994,
"c": 0.17207,
"h": 268.4
},
"luminance": 0.05373
}Semantic roles & 50–950 ramp
primary
#21359F
secondary
#C2B15A
accent
#CE3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81