#20197F#20197F
#20197F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.161 H 274.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #20197F |
|---|---|
| RGB | rgb(32, 25, 127) |
| HSL | hsl(244, 67%, 30%) |
| HSV | hsv(244, 80%, 50%) |
| CMYK | cmyk(74.8%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(18.07, 37.60, -55.53) |
| CIE-LCH | lch(18.07, 67.06, 304.10°) |
| OKLab | oklab(31.01% 0.0129 -0.1606) |
| OKLCH | oklch(31.01% 0.161 274.6) |
| XYZ | xyz(4.7728, 2.5342, 20.3122) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.58
Royal
#0C1793
ΔE00 3.12
Dark Royal Blue
#02066F
ΔE00 4.58
Navy
#000080
ΔE00 4.60
Darkblue
#00008B
ΔE00 4.62
Deep Blue
#040273
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20197F #787F19
analogous
#19457F #20197F #53197F
triadic
#20197F #7F2019 #197F20
tetradic
#20197F #7F1945 #787F19 #197F53
square
#20197F #7F1945 #787F19 #197F53
split-complementary
#20197F #7F5319 #457F19
monochromatic
#06051A #130F4C #20197F #2D23B2 #453AD8
Accessibility & contrast
On white
13.93
#20197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#20197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20197F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20197F | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #20197f; /* rgb */ color: rgb(32, 25, 127); /* oklch */ color: oklch(31.0% 0.161 274.6);
Tailwind
colors: {
custom: {
50: '#6c58a5',
500: '#20197f',
950: '#000000',
},
}SCSS
$custom: #20197f; $custom-light: #6c58a5; $custom-dark: #000000;
JSON
{
"hex": "#20197f",
"rgb": {
"r": 32,
"g": 25,
"b": 127
},
"hsl": {
"h": 244.118,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31013,
"c": 0.16112,
"h": 274.6
},
"luminance": 0.02535
}Semantic roles & 50–950 ramp
primary
#20197F
secondary
#ABB341
accent
#EA3EDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F