#202D7F#202D7F
#202D7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.138 H 270.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #202D7F |
|---|---|
| RGB | rgb(32, 45, 127) |
| HSL | hsl(232, 60%, 31%) |
| HSV | hsv(232, 75%, 50%) |
| CMYK | cmyk(74.8%, 64.6%, 0%, 50.2%) |
| CIE-LAB | lab(22.71, 24.94, -47.91) |
| CIE-LCH | lch(22.71, 54.01, 297.50°) |
| OKLab | oklab(34.35% 0.0008 -0.1384) |
| OKLCH | oklch(34.35% 0.138 270.3) |
| XYZ | xyz(5.3635, 3.7156, 20.5091) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 6.82
Royal
#0C1793
ΔE00 6.94
Marine
#042E60
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 7.04
Blueberry
#464196
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202D7F #7F7220
analogous
#205C7F #202D7F #42207F
triadic
#202D7F #7F202D #2D7F20
tetradic
#202D7F #7F205C #7F7220 #207F42
square
#202D7F #7F205C #7F7220 #207F42
split-complementary
#202D7F #7F4220 #5C7F20
monochromatic
#070A1D #141C4E #202D7F #2C3EB0 #485BD1
Accessibility & contrast
On white
12.05
#202D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#202D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202D7F
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202D7F | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #202d7f; /* rgb */ color: rgb(32, 45, 127); /* oklch */ color: oklch(34.4% 0.138 270.3);
Tailwind
colors: {
custom: {
50: '#6a65a5',
500: '#202d7f',
950: '#000000',
},
}SCSS
$custom: #202d7f; $custom-light: #6a65a5; $custom-dark: #000000;
JSON
{
"hex": "#202d7f",
"rgb": {
"r": 32,
"g": 45,
"b": 127
},
"hsl": {
"h": 231.789,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.34352,
"c": 0.13838,
"h": 270.3
},
"luminance": 0.03716
}Semantic roles & 50–950 ramp
primary
#202D7F
secondary
#B2A349
accent
#CD45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F