#20107E#20107E
#20107E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.167 H 275.7°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #20107E |
|---|---|
| RGB | rgb(32, 16, 126) |
| HSL | hsl(249, 77%, 28%) |
| HSV | hsv(249, 87%, 49%) |
| CMYK | cmyk(74.6%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.42, 41.74, -57.63) |
| CIE-LCH | lch(16.42, 71.16, 305.91°) |
| OKLab | oklab(29.83% 0.0167 -0.1665) |
| OKLCH | oklch(29.83% 0.167 275.7) |
| XYZ | xyz(4.5456, 2.1836, 19.9165) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.03
Darkblue
#00008B
ΔE00 3.25
Deep Blue
#040273
ΔE00 3.35
Dark Royal Blue
#02066F
ΔE00 3.44
Midnight Blue
#191970
ΔE00 3.45
Royal
#0C1793
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20107E #6E7E10
analogous
#10377E #20107E #57107E
triadic
#20107E #7E2010 #107E20
tetradic
#20107E #7E1037 #6E7E10 #107E57
square
#20107E #7E1037 #6E7E10 #107E57
split-complementary
#20107E #7E5710 #377E10
monochromatic
#07031B #120948 #20107E #2E17B4 #4125E3
Accessibility & contrast
On white
14.62
#20107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#20107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20107E
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20107E | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #20107e; /* rgb */ color: rgb(32, 16, 126); /* oklch */ color: oklch(29.8% 0.167 275.7);
Tailwind
colors: {
custom: {
50: '#6d53a5',
500: '#20107e',
950: '#000000',
},
}SCSS
$custom: #20107e; $custom-light: #6d53a5; $custom-dark: #000000;
JSON
{
"hex": "#20107e",
"rgb": {
"r": 32,
"g": 16,
"b": 126
},
"hsl": {
"h": 248.727,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.29834,
"c": 0.16738,
"h": 275.7
},
"luminance": 0.02184
}Semantic roles & 50–950 ramp
primary
#20107E
secondary
#A2B436
accent
#F434D8
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F