#20137F#20137F
#20137F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.166 H 275.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #20137F |
|---|---|
| RGB | rgb(32, 19, 127) |
| HSL | hsl(247, 74%, 29%) |
| HSV | hsv(247, 85%, 50%) |
| CMYK | cmyk(74.8%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(17.01, 40.68, -57.29) |
| CIE-LCH | lch(17.01, 70.27, 305.38°) |
| OKLab | oklab(30.28% 0.0153 -0.1656) |
| OKLCH | oklch(30.28% 0.166 275.3) |
| XYZ | xyz(4.6580, 2.3047, 20.2739) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.17
Midnight Blue
#191970
ΔE00 3.18
Navy
#000080
ΔE00 3.47
Darkblue
#00008B
ΔE00 3.56
Dark Royal Blue
#02066F
ΔE00 3.79
Deep Blue
#040273
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20137F #727F13
analogous
#133C7F #20137F #56137F
triadic
#20137F #7F2013 #137F20
tetradic
#20137F #7F133C #727F13 #137F56
square
#20137F #7F133C #727F13 #137F56
split-complementary
#20137F #7F5613 #3C7F13
monochromatic
#07041B #130B4A #20137F #2D1BB4 #422DE0
Accessibility & contrast
On white
14.37
#20137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#20137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20137F
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20137F | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #20137f; /* rgb */ color: rgb(32, 19, 127); /* oklch */ color: oklch(30.3% 0.166 275.3);
Tailwind
colors: {
custom: {
50: '#6d55a5',
500: '#20137f',
950: '#000000',
},
}SCSS
$custom: #20137f; $custom-light: #6d55a5; $custom-dark: #000000;
JSON
{
"hex": "#20137f",
"rgb": {
"r": 32,
"g": 19,
"b": 127
},
"hsl": {
"h": 247.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30275,
"c": 0.16633,
"h": 275.3
},
"luminance": 0.02305
}Semantic roles & 50–950 ramp
primary
#20137F
secondary
#A6B439
accent
#F137DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F