#202D7C#202D7C
#202D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.134 H 270.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #202D7C |
|---|---|
| RGB | rgb(32, 45, 124) |
| HSL | hsl(232, 59%, 31%) |
| HSV | hsv(232, 74%, 49%) |
| CMYK | cmyk(74.2%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.44, 23.77, -46.45) |
| CIE-LCH | lch(22.44, 52.18, 297.10°) |
| OKLab | oklab(34.07% 0.0009 -0.1341) |
| OKLCH | oklch(34.07% 0.134 270.4) |
| XYZ | xyz(5.1709, 3.6386, 19.4947) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.78
Marine
#042E60
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 7.15
Sapphire (survey)
#2138AB
ΔE00 7.26
Royal
#0C1793
ΔE00 7.31
Blueberry
#464196
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202D7C #7C6F20
analogous
#205B7C #202D7C #41207C
triadic
#202D7C #7C202D #2D7C20
tetradic
#202D7C #7C205B #7C6F20 #207C41
square
#202D7C #7C205B #7C6F20 #207C41
split-complementary
#202D7C #7C4120 #5B7C20
monochromatic
#070A1B #131B4B #202D7C #2D3FAD #475ACF
Accessibility & contrast
On white
12.15
#202D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#202D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202D7C
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202D7C | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #202d7c; /* rgb */ color: rgb(32, 45, 124); /* oklch */ color: oklch(34.1% 0.134 270.4);
Tailwind
colors: {
custom: {
50: '#6a65a3',
500: '#202d7c',
950: '#000000',
},
}SCSS
$custom: #202d7c; $custom-light: #6a65a3; $custom-dark: #000000;
JSON
{
"hex": "#202d7c",
"rgb": {
"r": 32,
"g": 45,
"b": 124
},
"hsl": {
"h": 231.522,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.34069,
"c": 0.1341,
"h": 270.4
},
"luminance": 0.03639
}Semantic roles & 50–950 ramp
primary
#202D7C
secondary
#AFA149
accent
#CC46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F