#202B7E#202B7E
#202B7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.140 H 270.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #202B7E |
|---|---|
| RGB | rgb(32, 43, 126) |
| HSL | hsl(233, 59%, 31%) |
| HSV | hsv(233, 75%, 49%) |
| CMYK | cmyk(74.6%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(22.09, 25.92, -48.29) |
| CIE-LCH | lch(22.09, 54.80, 298.23°) |
| OKLab | oklab(33.87% 0.0023 -0.1395) |
| OKLCH | oklch(33.87% 0.14 270.9) |
| XYZ | xyz(5.2242, 3.5407, 20.1427) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.16
Royal
#0C1793
ΔE00 6.48
Sapphire (survey)
#2138AB
ΔE00 7.14
Marine
#042E60
ΔE00 7.23
Darkslateblue
#483D8B
ΔE00 7.28
Blueberry
#464196
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202B7E #7E7320
analogous
#205A7E #202B7E #44207E
triadic
#202B7E #7E202B #2B7E20
tetradic
#202B7E #7E205A #7E7320 #207E44
square
#202B7E #7E205A #7E7320 #207E44
split-complementary
#202B7E #7E4420 #5A7E20
monochromatic
#070A1C #141A4D #202B7E #2C3CAF #4858D0
Accessibility & contrast
On white
12.29
#202B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#202B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202B7E
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202B7E | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #202b7e; /* rgb */ color: rgb(32, 43, 126); /* oklch */ color: oklch(33.9% 0.140 270.9);
Tailwind
colors: {
custom: {
50: '#6a64a4',
500: '#202b7e',
950: '#000000',
},
}SCSS
$custom: #202b7e; $custom-light: #6a64a4; $custom-dark: #000000;
JSON
{
"hex": "#202b7e",
"rgb": {
"r": 32,
"g": 43,
"b": 126
},
"hsl": {
"h": 232.979,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.33869,
"c": 0.13952,
"h": 270.9
},
"luminance": 0.03541
}Semantic roles & 50–950 ramp
primary
#202B7E
secondary
#B1A549
accent
#D045E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F