#202B7F#202B7F
#202B7F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.141 H 270.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #202B7F |
|---|---|
| RGB | rgb(32, 43, 127) |
| HSL | hsl(233, 60%, 31%) |
| HSV | hsv(233, 75%, 50%) |
| CMYK | cmyk(74.8%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.18, 26.31, -48.77) |
| CIE-LCH | lch(22.18, 55.41, 298.34°) |
| OKLab | oklab(33.97% 0.0022 -0.1409) |
| OKLCH | oklch(33.97% 0.141 270.9) |
| XYZ | xyz(5.2890, 3.5666, 20.4842) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.18
Royal
#0C1793
ΔE00 6.36
Sapphire (survey)
#2138AB
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.26
Marine
#042E60
ΔE00 7.35
Blueberry
#464196
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202B7F #7F7420
analogous
#205A7F #202B7F #44207F
triadic
#202B7F #7F202B #2B7F20
tetradic
#202B7F #7F205A #7F7420 #207F44
square
#202B7F #7F205A #7F7420 #207F44
split-complementary
#202B7F #7F4420 #5A7F20
monochromatic
#070A1D #141A4E #202B7F #2C3CB0 #4858D1
Accessibility & contrast
On white
12.26
#202B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#202B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202B7F
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202B7F | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #202b7f; /* rgb */ color: rgb(32, 43, 127); /* oklch */ color: oklch(34.0% 0.141 270.9);
Tailwind
colors: {
custom: {
50: '#6b64a5',
500: '#202b7f',
950: '#000000',
},
}SCSS
$custom: #202b7f; $custom-light: #6b64a5; $custom-dark: #000000;
JSON
{
"hex": "#202b7f",
"rgb": {
"r": 32,
"g": 43,
"b": 127
},
"hsl": {
"h": 233.053,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.33966,
"c": 0.14093,
"h": 270.9
},
"luminance": 0.03567
}Semantic roles & 50–950 ramp
primary
#202B7F
secondary
#B2A649
accent
#D145E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F