#20286E#20286E
#20286E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.120 H 272.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #20286E |
|---|---|
| RGB | rgb(32, 40, 110) |
| HSL | hsl(234, 55%, 28%) |
| HSV | hsv(234, 71%, 43%) |
| CMYK | cmyk(70.9%, 63.6%, 0%, 56.9%) |
| CIE-LAB | lab(19.84, 21.82, -41.72) |
| CIE-LCH | lch(19.84, 47.08, 297.61°) |
| OKLab | oklab(31.76% 0.0053 -0.1203) |
| OKLCH | oklch(31.76% 0.12 272.5) |
| XYZ | xyz(4.1680, 2.9501, 15.0986) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.70
Marine
#042E60
ΔE00 6.27
Navy Blue
#1B2A4A
ΔE00 7.88
Royal
#0C1793
ΔE00 8.05
Navy Blue (survey)
#001146
ΔE00 8.35
Darkslateblue
#483D8B
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20286E #6E6620
analogous
#204F6E #20286E #3F206E
triadic
#20286E #6E2028 #286E20
tetradic
#20286E #6E204F #6E6620 #206E3F
square
#20286E #6E204F #6E6620 #206E3F
split-complementary
#20286E #6E3F20 #4F6E20
monochromatic
#070918 #12173F #20286E #2E399D #414FC8
Accessibility & contrast
On white
13.21
#20286E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#20286E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20286E
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20286E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20286E | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #20286e; /* rgb */ color: rgb(32, 40, 110); /* oklch */ color: oklch(31.8% 0.120 272.5);
Tailwind
colors: {
custom: {
50: '#676198',
500: '#20286e',
950: '#000000',
},
}SCSS
$custom: #20286e; $custom-light: #676198; $custom-dark: #000000;
JSON
{
"hex": "#20286e",
"rgb": {
"r": 32,
"g": 40,
"b": 110
},
"hsl": {
"h": 233.846,
"s": 54.93,
"l": 27.843
},
"oklch": {
"l": 0.31764,
"c": 0.12039,
"h": 272.5
},
"luminance": 0.0295
}Semantic roles & 50–950 ramp
primary
#20286E
secondary
#A29948
accent
#CF4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E