#21359B#21359B
#21359B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.167 H 268.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #21359B |
|---|---|
| RGB | rgb(33, 53, 155) |
| HSL | hsl(230, 65%, 37%) |
| HSV | hsv(230, 79%, 61%) |
| CMYK | cmyk(78.7%, 65.8%, 0%, 39.2%) |
| CIE-LAB | lab(27.39, 30.37, -57.60) |
| CIE-LCH | lch(27.39, 65.12, 297.80°) |
| OKLab | oklab(38.61% -0.0047 -0.1667) |
| OKLCH | oklch(38.61% 0.167 268.4) |
| XYZ | xyz(7.8146, 5.2352, 31.6026) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.34
Blueberry
#464196
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 6.59
Cobalt
#0047AB
ΔE00 6.66
Blue Blue
#2242C7
ΔE00 6.81
Ocean Blue
#4F42B5
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21359B #9B8721
analogous
#21729B #21359B #4A219B
triadic
#21359B #9B2135 #359B21
tetradic
#21359B #9B2172 #9B8721 #219B4A
square
#21359B #9B2172 #9B8721 #219B4A
split-complementary
#21359B #9B4A21 #729B21
monochromatic
#0C1236 #162469 #21359B #2C46CD #5A70DC
Accessibility & contrast
On white
10.26
#21359B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#21359B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21359B
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21359B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21359B | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #21359b; /* rgb */ color: rgb(33, 53, 155); /* oklch */ color: oklch(38.6% 0.167 268.4);
Tailwind
colors: {
custom: {
50: '#716cb9',
500: '#21359b',
950: '#000000',
},
}SCSS
$custom: #21359b; $custom-light: #716cb9; $custom-dark: #000000;
JSON
{
"hex": "#21359b",
"rgb": {
"r": 33,
"g": 53,
"b": 155
},
"hsl": {
"h": 230.164,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38605,
"c": 0.16674,
"h": 268.4
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#21359B
secondary
#C0AF58
accent
#CC40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81