#21349C#21349C
#21349C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.169 H 268.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #21349C |
|---|---|
| RGB | rgb(33, 52, 156) |
| HSL | hsl(231, 65%, 37%) |
| HSV | hsv(231, 79%, 61%) |
| CMYK | cmyk(78.8%, 66.7%, 0%, 38.8%) |
| CIE-LAB | lab(27.24, 31.41, -58.47) |
| CIE-LCH | lch(27.24, 66.37, 298.25°) |
| OKLab | oklab(38.52% -0.0042 -0.1692) |
| OKLCH | oklch(38.52% 0.169 268.6) |
| XYZ | xyz(7.8539, 5.1787, 32.0317) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.29
Blueberry
#464196
ΔE00 5.80
Darkslateblue
#483D8B
ΔE00 6.68
Blue Blue
#2242C7
ΔE00 6.83
Cobalt
#0047AB
ΔE00 6.94
Royal
#0C1793
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21349C #9C8921
analogous
#21719C #21349C #4C219C
triadic
#21349C #9C2134 #349C21
tetradic
#21349C #9C2171 #9C8921 #219C4C
square
#21349C #9C2171 #9C8921 #219C4C
split-complementary
#21349C #9C4C21 #719C21
monochromatic
#0C1237 #162369 #21349C #2C45CF #5B6FDC
Accessibility & contrast
On white
10.31
#21349C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#21349C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21349C
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21349C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21349C | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #21349c; /* rgb */ color: rgb(33, 52, 156); /* oklch */ color: oklch(38.5% 0.169 268.6);
Tailwind
colors: {
custom: {
50: '#726bba',
500: '#21349c',
950: '#000000',
},
}SCSS
$custom: #21349c; $custom-light: #726bba; $custom-dark: #000000;
JSON
{
"hex": "#21349c",
"rgb": {
"r": 33,
"g": 52,
"b": 156
},
"hsl": {
"h": 230.732,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.38519,
"c": 0.16926,
"h": 268.6
},
"luminance": 0.0518
}Semantic roles & 50–950 ramp
primary
#21349C
secondary
#C1B058
accent
#CE40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81