#202D7E#202D7E
#202D7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.137 H 270.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #202D7E |
|---|---|
| RGB | rgb(32, 45, 126) |
| HSL | hsl(232, 59%, 31%) |
| HSV | hsv(232, 75%, 49%) |
| CMYK | cmyk(74.6%, 64.3%, 0%, 50.6%) |
| CIE-LAB | lab(22.62, 24.55, -47.42) |
| CIE-LCH | lch(22.62, 53.40, 297.37°) |
| OKLab | oklab(34.26% 0.0008 -0.137) |
| OKLCH | oklch(34.26% 0.137 270.3) |
| XYZ | xyz(5.2987, 3.6897, 20.1675) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.78
Marine
#042E60
ΔE00 6.82
Sapphire (survey)
#2138AB
ΔE00 6.96
Royal
#0C1793
ΔE00 7.06
Darkslateblue
#483D8B
ΔE00 7.07
Blueberry
#464196
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202D7E #7E7120
analogous
#205C7E #202D7E #42207E
triadic
#202D7E #7E202D #2D7E20
tetradic
#202D7E #7E205C #7E7120 #207E42
square
#202D7E #7E205C #7E7120 #207E42
split-complementary
#202D7E #7E4220 #5C7E20
monochromatic
#070A1C #141C4D #202D7E #2C3EAF #485BD0
Accessibility & contrast
On white
12.08
#202D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#202D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202D7E
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202D7E | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #202d7e; /* rgb */ color: rgb(32, 45, 126); /* oklch */ color: oklch(34.3% 0.137 270.3);
Tailwind
colors: {
custom: {
50: '#6a65a4',
500: '#202d7e',
950: '#000000',
},
}SCSS
$custom: #202d7e; $custom-light: #6a65a4; $custom-dark: #000000;
JSON
{
"hex": "#202d7e",
"rgb": {
"r": 32,
"g": 45,
"b": 126
},
"hsl": {
"h": 231.702,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.34257,
"c": 0.13696,
"h": 270.3
},
"luminance": 0.0369
}Semantic roles & 50–950 ramp
primary
#202D7E
secondary
#B1A349
accent
#CD45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F