#20199E#20199E
#20199E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.199 H 271.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #20199E |
|---|---|
| RGB | rgb(32, 25, 158) |
| HSL | hsl(243, 73%, 36%) |
| HSV | hsv(243, 84%, 62%) |
| CMYK | cmyk(79.7%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(21.84, 47.62, -68.61) |
| CIE-LCH | lch(21.84, 83.52, 304.76°) |
| OKLab | oklab(34.72% 0.0051 -0.1985) |
| OKLCH | oklch(34.72% 0.199 271.5) |
| XYZ | xyz(7.1128, 3.4702, 32.6361) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.11
Cobalt Blue
#030AA7
ΔE00 2.45
Royal Blue (survey)
#0504AA
ΔE00 2.98
Ultramarine
#2000B1
ΔE00 3.48
Indigo Blue
#3A18B1
ΔE00 3.74
Darkblue
#00008B
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20199E #979E19
analogous
#19549E #20199E #62199E
triadic
#20199E #9E2019 #199E20
tetradic
#20199E #9E1954 #979E19 #199E62
square
#20199E #9E1954 #979E19 #199E62
split-complementary
#20199E #9E6219 #549E19
monochromatic
#0B0834 #151169 #20199E #2B21D3 #564EE3
Accessibility & contrast
On white
12.40
#20199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#20199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20199E
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20199E | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #20199e; /* rgb */ color: rgb(32, 25, 158); /* oklch */ color: oklch(34.7% 0.199 271.5);
Tailwind
colors: {
custom: {
50: '#745abc',
500: '#20199e',
950: '#000000',
},
}SCSS
$custom: #20199e; $custom-light: #745abc; $custom-dark: #000000;
JSON
{
"hex": "#20199e",
"rgb": {
"r": 32,
"g": 25,
"b": 158
},
"hsl": {
"h": 243.158,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.3472,
"c": 0.1986,
"h": 271.5
},
"luminance": 0.03471
}Semantic roles & 50–950 ramp
primary
#20199E
secondary
#BFC54E
accent
#EF38E6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981