#20137E#20137E
#20137E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.165 H 275.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #20137E |
|---|---|
| RGB | rgb(32, 19, 126) |
| HSL | hsl(247, 74%, 28%) |
| HSV | hsv(247, 85%, 49%) |
| CMYK | cmyk(74.6%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(16.89, 40.37, -56.86) |
| CIE-LCH | lch(16.89, 69.73, 305.37°) |
| OKLab | oklab(30.15% 0.0156 -0.1644) |
| OKLCH | oklch(30.15% 0.165 275.4) |
| XYZ | xyz(4.5932, 2.2787, 19.9324) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.06
Royal
#0C1793
ΔE00 3.31
Navy
#000080
ΔE00 3.49
Darkblue
#00008B
ΔE00 3.64
Dark Royal Blue
#02066F
ΔE00 3.70
Deep Blue
#040273
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20137E #717E13
analogous
#133B7E #20137E #55137E
triadic
#20137E #7E2013 #137E20
tetradic
#20137E #7E133B #717E13 #137E55
square
#20137E #7E133B #717E13 #137E55
split-complementary
#20137E #7E5513 #3B7E13
monochromatic
#07041B #120B49 #20137E #2E1BB3 #422CDF
Accessibility & contrast
On white
14.43
#20137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#20137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20137E
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20137E | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 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: #20137e; /* rgb */ color: rgb(32, 19, 126); /* oklch */ color: oklch(30.2% 0.165 275.4);
Tailwind
colors: {
custom: {
50: '#6d55a5',
500: '#20137e',
950: '#000000',
},
}SCSS
$custom: #20137e; $custom-light: #6d55a5; $custom-dark: #000000;
JSON
{
"hex": "#20137e",
"rgb": {
"r": 32,
"g": 19,
"b": 126
},
"hsl": {
"h": 247.29,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.30153,
"c": 0.16511,
"h": 275.4
},
"luminance": 0.02279
}Semantic roles & 50–950 ramp
primary
#20137E
secondary
#A5B439
accent
#F037DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F