#20296E#20296E
#20296E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.119 H 272.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #20296E |
|---|---|
| RGB | rgb(32, 41, 110) |
| HSL | hsl(233, 55%, 28%) |
| HSV | hsv(233, 71%, 43%) |
| CMYK | cmyk(70.9%, 62.7%, 0%, 56.9%) |
| CIE-LAB | lab(20.12, 21.12, -41.27) |
| CIE-LCH | lch(20.12, 46.36, 297.10°) |
| OKLab | oklab(31.97% 0.0044 -0.1189) |
| OKLCH | oklch(31.97% 0.119 272.1) |
| XYZ | xyz(4.2021, 3.0184, 15.1100) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.04
Marine
#042E60
ΔE00 5.99
Navy Blue
#1B2A4A
ΔE00 7.71
Royal
#0C1793
ΔE00 8.29
Darkslateblue
#483D8B
ΔE00 8.32
Marine Blue
#01386A
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20296E #6E6520
analogous
#20506E #20296E #3E206E
triadic
#20296E #6E2029 #296E20
tetradic
#20296E #6E2050 #6E6520 #206E3E
square
#20296E #6E2050 #6E6520 #206E3E
split-complementary
#20296E #6E3E20 #506E20
monochromatic
#070918 #12173F #20296E #2E3B9D #4150C8
Accessibility & contrast
On white
13.09
#20296E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#20296E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20296E
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20296E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20296E | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #20296e; /* rgb */ color: rgb(32, 41, 110); /* oklch */ color: oklch(32.0% 0.119 272.1);
Tailwind
colors: {
custom: {
50: '#666298',
500: '#20296e',
950: '#000000',
},
}SCSS
$custom: #20296e; $custom-light: #666298; $custom-dark: #000000;
JSON
{
"hex": "#20296e",
"rgb": {
"r": 32,
"g": 41,
"b": 110
},
"hsl": {
"h": 233.077,
"s": 54.93,
"l": 27.843
},
"oklch": {
"l": 0.31967,
"c": 0.11903,
"h": 272.1
},
"luminance": 0.03019
}Semantic roles & 50–950 ramp
primary
#20296E
secondary
#A29748
accent
#CD4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E