#20198B#20198B
#20198B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.176 H 273.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #20198B |
|---|---|
| RGB | rgb(32, 25, 139) |
| HSL | hsl(244, 70%, 32%) |
| HSV | hsv(244, 82%, 55%) |
| CMYK | cmyk(77%, 82%, 0%, 45.5%) |
| CIE-LAB | lab(19.50, 41.57, -60.74) |
| CIE-LCH | lch(19.50, 73.60, 304.39°) |
| OKLab | oklab(32.43% 0.0099 -0.1757) |
| OKLCH | oklch(32.43% 0.176 273.2) |
| XYZ | xyz(5.6019, 2.8658, 24.6790) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.61
Darkblue
#00008B
ΔE00 4.14
Cobalt Blue
#030AA7
ΔE00 4.27
Midnight Blue
#191970
ΔE00 4.33
Navy
#000080
ΔE00 4.73
Indigo (survey)
#380282
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20198B #848B19
analogous
#194B8B #20198B #59198B
triadic
#20198B #8B2019 #198B20
tetradic
#20198B #8B194B #848B19 #198B59
square
#20198B #8B194B #848B19 #198B59
split-complementary
#20198B #8B5919 #4B8B19
monochromatic
#080623 #141057 #20198B #2C22BF #4B41DD
Accessibility & contrast
On white
13.35
#20198B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#20198B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20198B
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20198B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20198B | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #20198b; /* rgb */ color: rgb(32, 25, 139); /* oklch */ color: oklch(32.4% 0.176 273.2);
Tailwind
colors: {
custom: {
50: '#6f59ae',
500: '#20198b',
950: '#000000',
},
}SCSS
$custom: #20198b; $custom-light: #6f59ae; $custom-dark: #000000;
JSON
{
"hex": "#20198b",
"rgb": {
"r": 32,
"g": 25,
"b": 139
},
"hsl": {
"h": 243.684,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.32426,
"c": 0.176,
"h": 273.2
},
"luminance": 0.02866
}Semantic roles & 50–950 ramp
primary
#20198B
secondary
#B6BE42
accent
#EC3BE1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F