#20147E#20147E
#20147E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.164 H 275.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #20147E |
|---|---|
| RGB | rgb(32, 20, 126) |
| HSL | hsl(247, 73%, 29%) |
| HSV | hsv(247, 84%, 49%) |
| CMYK | cmyk(74.6%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(17.05, 39.88, -56.59) |
| CIE-LCH | lch(17.05, 69.23, 305.18°) |
| OKLab | oklab(30.27% 0.0153 -0.1636) |
| OKLCH | oklch(30.27% 0.164 275.3) |
| XYZ | xyz(4.6105, 2.3133, 19.9382) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.94
Royal
#0C1793
ΔE00 3.27
Navy
#000080
ΔE00 3.65
Darkblue
#00008B
ΔE00 3.80
Dark Royal Blue
#02066F
ΔE00 3.81
Deep Blue
#040273
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20147E #727E14
analogous
#143D7E #20147E #55147E
triadic
#20147E #7E2014 #147E20
tetradic
#20147E #7E143D #727E14 #147E55
square
#20147E #7E143D #727E14 #147E55
split-complementary
#20147E #7E5514 #3D7E14
monochromatic
#07041A #130C49 #20147E #2D1CB3 #422EDE
Accessibility & contrast
On white
14.36
#20147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#20147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20147E
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20147E | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #20147e; /* rgb */ color: rgb(32, 20, 126); /* oklch */ color: oklch(30.3% 0.164 275.3);
Tailwind
colors: {
custom: {
50: '#6d55a5',
500: '#20147e',
950: '#000000',
},
}SCSS
$custom: #20147e; $custom-light: #6d55a5; $custom-dark: #000000;
JSON
{
"hex": "#20147e",
"rgb": {
"r": 32,
"g": 20,
"b": 126
},
"hsl": {
"h": 246.792,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.30268,
"c": 0.1643,
"h": 275.3
},
"luminance": 0.02314
}Semantic roles & 50–950 ramp
primary
#20147E
secondary
#A6B33A
accent
#EF38DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F