#20137C#20137C
#20137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.163 H 275.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #20137C |
|---|---|
| RGB | rgb(32, 19, 124) |
| HSL | hsl(247, 73%, 28%) |
| HSV | hsv(247, 85%, 49%) |
| CMYK | cmyk(74.2%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(16.64, 39.73, -55.99) |
| CIE-LCH | lch(16.64, 68.66, 305.36°) |
| OKLab | oklab(29.91% 0.0162 -0.1619) |
| OKLCH | oklch(29.91% 0.163 275.7) |
| XYZ | xyz(4.4654, 2.2276, 19.2595) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.83
Dark Royal Blue
#02066F
ΔE00 3.54
Navy
#000080
ΔE00 3.54
Royal
#0C1793
ΔE00 3.59
Deep Blue
#040273
ΔE00 3.63
Darkblue
#00008B
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20137C #6F7C13
analogous
#133A7C #20137C #55137C
triadic
#20137C #7C2013 #137C20
tetradic
#20137C #7C133A #6F7C13 #137C55
square
#20137C #7C133A #6F7C13 #137C55
split-complementary
#20137C #7C5513 #3A7C13
monochromatic
#07041B #120B47 #20137C #2E1BB1 #412BDF
Accessibility & contrast
On white
14.53
#20137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#20137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20137C
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20137C | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #20137c; /* rgb */ color: rgb(32, 19, 124); /* oklch */ color: oklch(29.9% 0.163 275.7);
Tailwind
colors: {
custom: {
50: '#6c55a3',
500: '#20137c',
950: '#000000',
},
}SCSS
$custom: #20137c; $custom-light: #6c55a3; $custom-dark: #000000;
JSON
{
"hex": "#20137c",
"rgb": {
"r": 32,
"g": 19,
"b": 124
},
"hsl": {
"h": 247.429,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.2991,
"c": 0.16267,
"h": 275.7
},
"luminance": 0.02228
}Semantic roles & 50–950 ramp
primary
#20137C
secondary
#A3B239
accent
#F038D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F