#20148A#20148A
#20148A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.179 H 273.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #20148A |
|---|---|
| RGB | rgb(32, 20, 138) |
| HSL | hsl(246, 75%, 31%) |
| HSV | hsv(246, 86%, 54%) |
| CMYK | cmyk(76.8%, 85.5%, 0%, 45.9%) |
| CIE-LAB | lab(18.55, 43.68, -61.69) |
| CIE-LCH | lch(18.55, 75.58, 305.30°) |
| OKLab | oklab(31.73% 0.0118 -0.1784) |
| OKLCH | oklch(31.73% 0.179 273.8) |
| XYZ | xyz(5.4317, 2.6418, 24.2635) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.82
Darkblue
#00008B
ΔE00 3.27
Navy
#000080
ΔE00 3.87
Cobalt Blue
#030AA7
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 4.06
Midnight Blue
#191970
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20148A #7E8A14
analogous
#14438A #20148A #5B148A
triadic
#20148A #8A2014 #148A20
tetradic
#20148A #8A1443 #7E8A14 #148A5B
square
#20148A #8A1443 #7E8A14 #148A5B
split-complementary
#20148A #8A5B14 #438A14
monochromatic
#07051F #140C55 #20148A #2C1CBF #4836E2
Accessibility & contrast
On white
13.74
#20148A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#20148A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20148A
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20148A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20148A | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #20148a; /* rgb */ color: rgb(32, 20, 138); /* oklch */ color: oklch(31.7% 0.179 273.8);
Tailwind
colors: {
custom: {
50: '#7056ad',
500: '#20148a',
950: '#000000',
},
}SCSS
$custom: #20148a; $custom-light: #7056ad; $custom-dark: #000000;
JSON
{
"hex": "#20148a",
"rgb": {
"r": 32,
"g": 20,
"b": 138
},
"hsl": {
"h": 246.102,
"s": 74.684,
"l": 30.98
},
"oklch": {
"l": 0.31732,
"c": 0.17878,
"h": 273.8
},
"luminance": 0.02642
}Semantic roles & 50–950 ramp
primary
#20148A
secondary
#B1BE3C
accent
#F136DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F