#20188B#20188B
#20188B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.177 H 273.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #20188B |
|---|---|
| RGB | rgb(32, 24, 139) |
| HSL | hsl(244, 71%, 32%) |
| HSV | hsv(244, 83%, 55%) |
| CMYK | cmyk(77%, 82.7%, 0%, 45.5%) |
| CIE-LAB | lab(19.32, 42.08, -61.03) |
| CIE-LCH | lch(19.32, 74.13, 304.59°) |
| OKLab | oklab(32.31% 0.0102 -0.1765) |
| OKLCH | oklch(32.31% 0.177 273.3) |
| XYZ | xyz(5.5809, 2.8238, 24.6720) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.58
Darkblue
#00008B
ΔE00 3.95
Cobalt Blue
#030AA7
ΔE00 4.18
Midnight Blue
#191970
ΔE00 4.38
Navy
#000080
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20188B #838B18
analogous
#184A8B #20188B #5A188B
triadic
#20188B #8B2018 #188B20
tetradic
#20188B #8B184A #838B18 #188B5A
square
#20188B #8B184A #838B18 #188B5A
split-complementary
#20188B #8B5A18 #4A8B18
monochromatic
#080623 #140F57 #20188B #2C21BF #4A3FDE
Accessibility & contrast
On white
13.42
#20188B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#20188B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20188B
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20188B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20188B | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #20188b; /* rgb */ color: rgb(32, 24, 139); /* oklch */ color: oklch(32.3% 0.177 273.3);
Tailwind
colors: {
custom: {
50: '#7058ae',
500: '#20188b',
950: '#000000',
},
}SCSS
$custom: #20188b; $custom-light: #7058ae; $custom-dark: #000000;
JSON
{
"hex": "#20188b",
"rgb": {
"r": 32,
"g": 24,
"b": 139
},
"hsl": {
"h": 244.174,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.32305,
"c": 0.17683,
"h": 273.3
},
"luminance": 0.02824
}Semantic roles & 50–950 ramp
primary
#20188B
secondary
#B6BE40
accent
#ED3AE1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F