#202C7C#202C7C
#202C7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.135 H 270.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #202C7C |
|---|---|
| RGB | rgb(32, 44, 124) |
| HSL | hsl(232, 59%, 31%) |
| HSV | hsv(232, 74%, 49%) |
| CMYK | cmyk(74.2%, 64.5%, 0%, 51.4%) |
| CIE-LAB | lab(22.17, 24.46, -46.89) |
| CIE-LCH | lch(22.17, 52.89, 297.55°) |
| OKLab | oklab(33.87% 0.0016 -0.1354) |
| OKLCH | oklch(33.87% 0.135 270.7) |
| XYZ | xyz(5.1332, 3.5632, 19.4821) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.46
Marine
#042E60
ΔE00 6.78
Royal
#0C1793
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 7.24
Sapphire (survey)
#2138AB
ΔE00 7.33
Blueberry
#464196
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202C7C #7C7020
analogous
#205A7C #202C7C #42207C
triadic
#202C7C #7C202C #2C7C20
tetradic
#202C7C #7C205A #7C7020 #207C42
square
#202C7C #7C205A #7C7020 #207C42
split-complementary
#202C7C #7C4220 #5A7C20
monochromatic
#07091B #131B4B #202C7C #2D3DAD #4759CF
Accessibility & contrast
On white
12.26
#202C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#202C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202C7C
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202C7C | 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)
#00397F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #202c7c; /* rgb */ color: rgb(32, 44, 124); /* oklch */ color: oklch(33.9% 0.135 270.7);
Tailwind
colors: {
custom: {
50: '#6a65a3',
500: '#202c7c',
950: '#000000',
},
}SCSS
$custom: #202c7c; $custom-light: #6a65a3; $custom-dark: #000000;
JSON
{
"hex": "#202c7c",
"rgb": {
"r": 32,
"g": 44,
"b": 124
},
"hsl": {
"h": 232.174,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.33872,
"c": 0.1354,
"h": 270.7
},
"luminance": 0.03564
}Semantic roles & 50–950 ramp
primary
#202C7C
secondary
#AFA249
accent
#CE46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F