#21319C#21319C
#21319C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.173 H 269.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #21319C |
|---|---|
| RGB | rgb(33, 49, 156) |
| HSL | hsl(232, 65%, 37%) |
| HSV | hsv(232, 79%, 61%) |
| CMYK | cmyk(78.8%, 68.6%, 0%, 38.8%) |
| CIE-LAB | lab(26.50, 33.37, -59.67) |
| CIE-LCH | lch(26.50, 68.37, 299.21°) |
| OKLab | oklab(37.98% -0.0025 -0.1727) |
| OKLCH | oklch(37.98% 0.173 269.2) |
| XYZ | xyz(7.7242, 4.9194, 31.9885) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Blueberry
#464196
ΔE00 6.24
Royal
#0C1793
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.14
Blue Blue
#2242C7
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21319C #9C8C21
analogous
#216F9C #21319C #4F219C
triadic
#21319C #9C2131 #319C21
tetradic
#21319C #9C216F #9C8C21 #219C4F
square
#21319C #9C216F #9C8C21 #219C4F
split-complementary
#21319C #9C4F21 #6F9C21
monochromatic
#0C1137 #162169 #21319C #2C41CF #5B6CDC
Accessibility & contrast
On white
10.58
#21319C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#21319C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21319C
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21319C | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21319c; /* rgb */ color: rgb(33, 49, 156); /* oklch */ color: oklch(38.0% 0.173 269.2);
Tailwind
colors: {
custom: {
50: '#7269ba',
500: '#21319c',
950: '#000000',
},
}SCSS
$custom: #21319c; $custom-light: #7269ba; $custom-dark: #000000;
JSON
{
"hex": "#21319c",
"rgb": {
"r": 33,
"g": 49,
"b": 156
},
"hsl": {
"h": 232.195,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.37983,
"c": 0.17277,
"h": 269.2
},
"luminance": 0.0492
}Semantic roles & 50–950 ramp
primary
#21319C
secondary
#C1B358
accent
#D240E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81