#202971#202971
#202971 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.123 H 272.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #202971 |
|---|---|
| RGB | rgb(32, 41, 113) |
| HSL | hsl(233, 56%, 28%) |
| HSV | hsv(233, 72%, 44%) |
| CMYK | cmyk(71.7%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(20.38, 22.29, -42.78) |
| CIE-LCH | lch(20.38, 48.24, 297.52°) |
| OKLab | oklab(32.24% 0.0044 -0.1234) |
| OKLCH | oklch(32.24% 0.123 272) |
| XYZ | xyz(4.3682, 3.0848, 15.9848) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.81
Marine
#042E60
ΔE00 6.27
Royal
#0C1793
ΔE00 7.80
Darkslateblue
#483D8B
ΔE00 8.11
Navy Blue
#1B2A4A
ΔE00 8.16
Marine Blue
#01386A
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202971 #716820
analogous
#205171 #202971 #3F2071
triadic
#202971 #712029 #297120
tetradic
#202971 #712051 #716820 #20713F
square
#202971 #712051 #716820 #20713F
split-complementary
#202971 #713F20 #517120
monochromatic
#070918 #121841 #202971 #2E3AA1 #4251C9
Accessibility & contrast
On white
12.99
#202971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#202971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202971
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202971 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #202971; /* rgb */ color: rgb(32, 41, 113); /* oklch */ color: oklch(32.2% 0.123 272.0);
Tailwind
colors: {
custom: {
50: '#67629a',
500: '#202971',
950: '#000000',
},
}SCSS
$custom: #202971; $custom-light: #67629a; $custom-dark: #000000;
JSON
{
"hex": "#202971",
"rgb": {
"r": 32,
"g": 41,
"b": 113
},
"hsl": {
"h": 233.333,
"s": 55.862,
"l": 28.431
},
"oklch": {
"l": 0.32244,
"c": 0.12346,
"h": 272
},
"luminance": 0.03085
}Semantic roles & 50–950 ramp
primary
#202971
secondary
#A59A48
accent
#CE49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E