#21349B#21349B
#21349B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.168 H 268.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #21349B |
|---|---|
| RGB | rgb(33, 52, 155) |
| HSL | hsl(231, 65%, 37%) |
| HSV | hsv(231, 79%, 61%) |
| CMYK | cmyk(78.7%, 66.5%, 0%, 39.2%) |
| CIE-LAB | lab(27.14, 31.03, -58.01) |
| CIE-LCH | lch(27.14, 65.79, 298.14°) |
| OKLab | oklab(38.42% -0.0041 -0.1679) |
| OKLCH | oklch(38.42% 0.168 268.6) |
| XYZ | xyz(7.7695, 5.1450, 31.5876) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.64
Blue Blue
#2242C7
ΔE00 6.94
Cobalt
#0047AB
ΔE00 6.95
Royal
#0C1793
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21349B #9B8821
analogous
#21719B #21349B #4B219B
triadic
#21349B #9B2134 #349B21
tetradic
#21349B #9B2171 #9B8821 #219B4B
square
#21349B #9B2171 #9B8821 #219B4B
split-complementary
#21349B #9B4B21 #719B21
monochromatic
#0C1236 #162369 #21349B #2C45CD #5A6FDC
Accessibility & contrast
On white
10.35
#21349B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#21349B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21349B
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21349B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21349B | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #21349b; /* rgb */ color: rgb(33, 52, 155); /* oklch */ color: oklch(38.4% 0.168 268.6);
Tailwind
colors: {
custom: {
50: '#716bb9',
500: '#21349b',
950: '#000000',
},
}SCSS
$custom: #21349b; $custom-light: #716bb9; $custom-dark: #000000;
JSON
{
"hex": "#21349b",
"rgb": {
"r": 33,
"g": 52,
"b": 155
},
"hsl": {
"h": 230.656,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38421,
"c": 0.16793,
"h": 268.6
},
"luminance": 0.05146
}Semantic roles & 50–950 ramp
primary
#21349B
secondary
#C0B058
accent
#CE40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81