#4C4C82#4C4C82
#4C4C82 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.2% C 0.088 H 282.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4C82 |
|---|---|
| RGB | rgb(76, 76, 130) |
| HSL | hsl(240, 26%, 40%) |
| HSV | hsv(240, 42%, 51%) |
| CMYK | cmyk(41.5%, 41.5%, 0%, 49%) |
| CIE-LAB | lab(34.63, 14.55, -30.44) |
| CIE-LCH | lch(34.63, 33.74, 295.54°) |
| OKLab | oklab(44.21% 0.0185 -0.0857) |
| OKLCH | oklch(44.21% 0.088 282.2) |
| XYZ | xyz(9.5930, 8.3167, 22.2146) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.16
Dusk
#4E5481
ΔE00 3.18
Darkslateblue
#483D8B
ΔE00 6.01
Blueberry
#464196
ΔE00 6.24
Dusky Blue
#475F94
ΔE00 8.27
Denim Blue
#3B5B92
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4C82 #82824C
analogous
#4C6782 #4C4C82 #674C82
triadic
#4C4C82 #824C4C #4C824C
tetradic
#4C4C82 #824C67 #82824C #4C8267
square
#4C4C82 #824C67 #82824C #4C8267
split-complementary
#4C4C82 #82674C #67824C
monochromatic
#1F1F35 #35355B #4C4C82 #6666A5 #8C8CBC
Accessibility & contrast
On white
7.88
#4C4C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#4C4C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4C82
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4C82 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#3C5760
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4c4c82; /* rgb */ color: rgb(76, 76, 130); /* oklch */ color: oklch(44.2% 0.088 282.2);
Tailwind
colors: {
custom: {
50: '#817ea6',
500: '#4c4c82',
950: '#000000',
},
}SCSS
$custom: #4c4c82; $custom-light: #817ea6; $custom-dark: #000000;
JSON
{
"hex": "#4c4c82",
"rgb": {
"r": 76,
"g": 76,
"b": 130
},
"hsl": {
"h": 240,
"s": 26.214,
"l": 40.392
},
"oklch": {
"l": 0.4421,
"c": 0.08766,
"h": 282.2
},
"luminance": 0.08317
}Semantic roles & 50–950 ramp
primary
#4C4C82
secondary
#A8A881
accent
#C365C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A090F
muted
#7C7B7F