#202C7F#202C7F
#202C7F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.140 H 270.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #202C7F |
|---|---|
| RGB | rgb(32, 44, 127) |
| HSL | hsl(232, 60%, 31%) |
| HSV | hsv(232, 75%, 50%) |
| CMYK | cmyk(74.8%, 65.4%, 0%, 50.2%) |
| CIE-LAB | lab(22.44, 25.62, -48.34) |
| CIE-LCH | lch(22.44, 54.71, 297.93°) |
| OKLab | oklab(34.16% 0.0015 -0.1396) |
| OKLCH | oklch(34.16% 0.14 270.6) |
| XYZ | xyz(5.3258, 3.6402, 20.4965) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.48
Royal
#0C1793
ΔE00 6.65
Sapphire (survey)
#2138AB
ΔE00 6.91
Darkslateblue
#483D8B
ΔE00 7.14
Marine
#042E60
ΔE00 7.15
Blueberry
#464196
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202C7F #7F7320
analogous
#205B7F #202C7F #43207F
triadic
#202C7F #7F202C #2C7F20
tetradic
#202C7F #7F205B #7F7320 #207F43
square
#202C7F #7F205B #7F7320 #207F43
split-complementary
#202C7F #7F4320 #5B7F20
monochromatic
#070A1D #141B4E #202C7F #2C3DB0 #485AD1
Accessibility & contrast
On white
12.15
#202C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#202C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202C7F
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202C7F | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #202c7f; /* rgb */ color: rgb(32, 44, 127); /* oklch */ color: oklch(34.2% 0.140 270.6);
Tailwind
colors: {
custom: {
50: '#6a65a5',
500: '#202c7f',
950: '#000000',
},
}SCSS
$custom: #202c7f; $custom-light: #6a65a5; $custom-dark: #000000;
JSON
{
"hex": "#202c7f",
"rgb": {
"r": 32,
"g": 44,
"b": 127
},
"hsl": {
"h": 232.421,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.34158,
"c": 0.13966,
"h": 270.6
},
"luminance": 0.03641
}Semantic roles & 50–950 ramp
primary
#202C7F
secondary
#B2A549
accent
#CF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F