#202D8C#202D8C
#202D8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.156 H 270.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #202D8C |
|---|---|
| RGB | rgb(32, 45, 140) |
| HSL | hsl(233, 63%, 34%) |
| HSV | hsv(233, 77%, 55%) |
| CMYK | cmyk(77.1%, 67.9%, 0%, 45.1%) |
| CIE-LAB | lab(23.92, 29.90, -54.06) |
| CIE-LCH | lch(23.92, 61.78, 298.95°) |
| OKLab | oklab(35.62% 0 -0.1564) |
| OKLCH | oklch(35.62% 0.156 270) |
| XYZ | xyz(6.2661, 4.0766, 25.2625) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.11
Royal
#0C1793
ΔE00 5.75
Midnight Blue
#191970
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.93
Blueberry
#464196
ΔE00 7.00
Cobalt Blue
#030AA7
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202D8C #8C7F20
analogous
#20638C #202D8C #49208C
triadic
#202D8C #8C202D #2D8C20
tetradic
#202D8C #8C2063 #8C7F20 #208C49
square
#202D8C #8C2063 #8C7F20 #208C49
split-complementary
#202D8C #8C4920 #638C20
monochromatic
#090D28 #151D5A #202D8C #2B3DBE #5060D7
Accessibility & contrast
On white
11.57
#202D8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#202D8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202D8C
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202D8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202D8C | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #202d8c; /* rgb */ color: rgb(32, 45, 140); /* oklch */ color: oklch(35.6% 0.156 270.0);
Tailwind
colors: {
custom: {
50: '#6e66af',
500: '#202d8c',
950: '#000000',
},
}SCSS
$custom: #202d8c; $custom-light: #6e66af; $custom-dark: #000000;
JSON
{
"hex": "#202d8c",
"rgb": {
"r": 32,
"g": 45,
"b": 140
},
"hsl": {
"h": 232.778,
"s": 62.791,
"l": 33.725
},
"oklch": {
"l": 0.35617,
"c": 0.1564,
"h": 270
},
"luminance": 0.04077
}Semantic roles & 50–950 ramp
primary
#202D8C
secondary
#BAAD4E
accent
#D242E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F