#20138E#20138E
#20138E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.184 H 273.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #20138E |
|---|---|
| RGB | rgb(32, 19, 142) |
| HSL | hsl(246, 76%, 32%) |
| HSV | hsv(246, 87%, 56%) |
| CMYK | cmyk(77.5%, 86.6%, 0%, 44.3%) |
| CIE-LAB | lab(18.91, 45.35, -63.59) |
| CIE-LCH | lch(18.91, 78.11, 305.50°) |
| OKLab | oklab(32.13% 0.0109 -0.1839) |
| OKLCH | oklch(32.13% 0.184 273.4) |
| XYZ | xyz(5.7094, 2.7252, 25.8111) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.61
Darkblue
#00008B
ΔE00 3.17
Cobalt Blue
#030AA7
ΔE00 3.47
Royal Blue (survey)
#0504AA
ΔE00 3.92
Navy
#000080
ΔE00 4.00
Indigo (survey)
#380282
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20138E #818E13
analogous
#13448E #20138E #5E138E
triadic
#20138E #8E2013 #138E20
tetradic
#20138E #8E1344 #818E13 #138E5E
square
#20138E #8E1344 #818E13 #138E5E
split-complementary
#20138E #8E5E13 #448E13
monochromatic
#080522 #140C58 #20138E #2C1AC4 #4937E4
Accessibility & contrast
On white
13.59
#20138E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#20138E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20138E
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20138E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20138E | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #20138e; /* rgb */ color: rgb(32, 19, 142); /* oklch */ color: oklch(32.1% 0.184 273.4);
Tailwind
colors: {
custom: {
50: '#7156b0',
500: '#20138e',
950: '#000000',
},
}SCSS
$custom: #20138e; $custom-light: #7156b0; $custom-dark: #000000;
JSON
{
"hex": "#20138e",
"rgb": {
"r": 32,
"g": 19,
"b": 142
},
"hsl": {
"h": 246.341,
"s": 76.398,
"l": 31.569
},
"oklch": {
"l": 0.32125,
"c": 0.1842,
"h": 273.4
},
"luminance": 0.02726
}Semantic roles & 50–950 ramp
primary
#20138E
secondary
#B4C23B
accent
#F335DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880