#20188C#20188C
#20188C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.178 H 273.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #20188C |
|---|---|
| RGB | rgb(32, 24, 140) |
| HSL | hsl(244, 71%, 32%) |
| HSV | hsv(244, 83%, 55%) |
| CMYK | cmyk(77.1%, 82.9%, 0%, 45.1%) |
| CIE-LAB | lab(19.45, 42.40, -61.45) |
| CIE-LCH | lch(19.45, 74.66, 304.61°) |
| OKLab | oklab(32.42% 0.01 -0.1778) |
| OKLCH | oklch(32.42% 0.178 273.2) |
| XYZ | xyz(5.6543, 2.8532, 25.0586) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.49
Darkblue
#00008B
ΔE00 3.95
Cobalt Blue
#030AA7
ΔE00 4.05
Midnight Blue
#191970
ΔE00 4.52
Royal Blue (survey)
#0504AA
ΔE00 4.58
Navy
#000080
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20188C #848C18
analogous
#184A8C #20188C #5A188C
triadic
#20188C #8C2018 #188C20
tetradic
#20188C #8C184A #848C18 #188C5A
square
#20188C #8C184A #848C18 #188C5A
split-complementary
#20188C #8C5A18 #4A8C18
monochromatic
#080624 #140F58 #20188C #2C21C0 #4B40DE
Accessibility & contrast
On white
13.37
#20188C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#20188C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20188C
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20188C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20188C | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #20188c; /* rgb */ color: rgb(32, 24, 140); /* oklch */ color: oklch(32.4% 0.178 273.2);
Tailwind
colors: {
custom: {
50: '#7058af',
500: '#20188c',
950: '#000000',
},
}SCSS
$custom: #20188c; $custom-light: #7058af; $custom-dark: #000000;
JSON
{
"hex": "#20188c",
"rgb": {
"r": 32,
"g": 24,
"b": 140
},
"hsl": {
"h": 244.138,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.32425,
"c": 0.17805,
"h": 273.2
},
"luminance": 0.02854
}Semantic roles & 50–950 ramp
primary
#20188C
secondary
#B6BF41
accent
#ED3AE1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880