#20197B#20197B
#20197B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.156 H 275.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #20197B |
|---|---|
| RGB | rgb(32, 25, 123) |
| HSL | hsl(244, 66%, 29%) |
| HSV | hsv(244, 80%, 48%) |
| CMYK | cmyk(74%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(17.61, 36.25, -53.75) |
| CIE-LCH | lch(17.61, 64.83, 304.00°) |
| OKLab | oklab(30.55% 0.0139 -0.1554) |
| OKLCH | oklch(30.55% 0.156 275.1) |
| XYZ | xyz(4.5173, 2.4320, 18.9664) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.99
Royal
#0C1793
ΔE00 3.71
Dark Royal Blue
#02066F
ΔE00 4.37
Deep Blue
#040273
ΔE00 4.69
Navy
#000080
ΔE00 4.74
Darkblue
#00008B
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20197B #747B19
analogous
#19437B #20197B #51197B
triadic
#20197B #7B2019 #197B20
tetradic
#20197B #7B1943 #747B19 #197B51
square
#20197B #7B1943 #747B19 #197B51
split-complementary
#20197B #7B5119 #437B19
monochromatic
#070519 #130F48 #20197B #2D23AE #4338D7
Accessibility & contrast
On white
14.13
#20197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#20197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20197B
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20197B | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #20197b; /* rgb */ color: rgb(32, 25, 123); /* oklch */ color: oklch(30.6% 0.156 275.1);
Tailwind
colors: {
custom: {
50: '#6b58a2',
500: '#20197b',
950: '#000000',
},
}SCSS
$custom: #20197b; $custom-light: #6b58a2; $custom-dark: #000000;
JSON
{
"hex": "#20197b",
"rgb": {
"r": 32,
"g": 25,
"b": 123
},
"hsl": {
"h": 244.286,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.30551,
"c": 0.15605,
"h": 275.1
},
"luminance": 0.02432
}Semantic roles & 50–950 ramp
primary
#20197B
secondary
#A8AF40
accent
#E93FDD
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F