#20197E#20197E
#20197E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.160 H 274.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #20197E |
|---|---|
| RGB | rgb(32, 25, 126) |
| HSL | hsl(244, 67%, 30%) |
| HSV | hsv(244, 80%, 49%) |
| CMYK | cmyk(74.6%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(17.96, 37.26, -55.09) |
| CIE-LCH | lch(17.96, 66.51, 304.08°) |
| OKLab | oklab(30.9% 0.0131 -0.1593) |
| OKLCH | oklch(30.9% 0.16 274.7) |
| XYZ | xyz(4.7079, 2.5082, 19.9706) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Royal
#0C1793
ΔE00 3.26
Dark Royal Blue
#02066F
ΔE00 4.52
Navy
#000080
ΔE00 4.63
Darkblue
#00008B
ΔE00 4.69
Deep Blue
#040273
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20197E #777E19
analogous
#19457E #20197E #52197E
triadic
#20197E #7E2019 #197E20
tetradic
#20197E #7E1945 #777E19 #197E52
square
#20197E #7E1945 #777E19 #197E52
split-complementary
#20197E #7E5219 #457E19
monochromatic
#06051A #130F4B #20197E #2D23B1 #453AD8
Accessibility & contrast
On white
13.98
#20197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#20197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20197E
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20197E | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #20197e; /* rgb */ color: rgb(32, 25, 126); /* oklch */ color: oklch(30.9% 0.160 274.7);
Tailwind
colors: {
custom: {
50: '#6c58a5',
500: '#20197e',
950: '#000000',
},
}SCSS
$custom: #20197e; $custom-light: #6c58a5; $custom-dark: #000000;
JSON
{
"hex": "#20197e",
"rgb": {
"r": 32,
"g": 25,
"b": 126
},
"hsl": {
"h": 244.158,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.30897,
"c": 0.15986,
"h": 274.7
},
"luminance": 0.02509
}Semantic roles & 50–950 ramp
primary
#20197E
secondary
#AAB241
accent
#EA3EDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F