#20319C#20319C
#20319C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.173 H 268.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #20319C |
|---|---|
| RGB | rgb(32, 49, 156) |
| HSL | hsl(232, 66%, 37%) |
| HSV | hsv(232, 79%, 61%) |
| CMYK | cmyk(79.5%, 68.6%, 0%, 38.8%) |
| CIE-LAB | lab(26.46, 33.28, -59.75) |
| CIE-LCH | lch(26.46, 68.39, 299.11°) |
| OKLab | oklab(37.94% -0.0035 -0.173) |
| OKLCH | oklch(37.94% 0.173 268.9) |
| XYZ | xyz(7.6927, 4.9031, 31.9870) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.73
Blueberry
#464196
ΔE00 6.30
Royal
#0C1793
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.98
Indigo Blue
#3A18B1
ΔE00 7.20
Blue Blue
#2242C7
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20319C #9C8B20
analogous
#206F9C #20319C #4D209C
triadic
#20319C #9C2031 #319C20
tetradic
#20319C #9C206F #9C8B20 #209C4D
square
#20319C #9C206F #9C8B20 #209C4D
split-complementary
#20319C #9C4D20 #6F9C20
monochromatic
#0B1136 #162169 #20319C #2A41CF #596BDD
Accessibility & contrast
On white
10.60
#20319C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#20319C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20319C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20319C | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 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: #20319c; /* rgb */ color: rgb(32, 49, 156); /* oklch */ color: oklch(37.9% 0.173 268.9);
Tailwind
colors: {
custom: {
50: '#7269ba',
500: '#20319c',
950: '#000000',
},
}SCSS
$custom: #20319c; $custom-light: #7269ba; $custom-dark: #000000;
JSON
{
"hex": "#20319c",
"rgb": {
"r": 32,
"g": 49,
"b": 156
},
"hsl": {
"h": 231.774,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.37936,
"c": 0.17303,
"h": 268.9
},
"luminance": 0.04904
}Semantic roles & 50–950 ramp
primary
#20319C
secondary
#C1B257
accent
#D23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81