#4C4A97#4C4A97
#4C4A97 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.122 H 281.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4A97 |
|---|---|
| RGB | rgb(76, 74, 151) |
| HSL | hsl(242, 34%, 44%) |
| HSV | hsv(242, 51%, 59%) |
| CMYK | cmyk(49.7%, 51%, 0%, 40.8%) |
| CIE-LAB | lab(35.34, 22.48, -42.16) |
| CIE-LCH | lch(35.34, 47.78, 298.07°) |
| OKLab | oklab(45.15% 0.0244 -0.12) |
| OKLCH | oklch(45.15% 0.122 281.5) |
| XYZ | xyz(11.0135, 8.6678, 30.3649) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.86
Twilight
#4E518B
ΔE00 3.82
Darkslateblue
#483D8B
ΔE00 4.24
Ocean Blue
#4F42B5
ΔE00 5.82
Dusk
#4E5481
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4A97 #95974A
analogous
#4A6F97 #4C4A97 #734A97
triadic
#4C4A97 #974C4A #4A974C
tetradic
#4C4A97 #974A6F #95974A #4A9773
square
#4C4A97 #974A6F #95974A #4A9773
split-complementary
#4C4A97 #97734A #6F974A
monochromatic
#232245 #37366E #4C4A97 #6B69B5 #9392CA
Accessibility & contrast
On white
7.68
#4C4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#4C4A97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4A97
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4A97 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#315B69
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4c4a97; /* rgb */ color: rgb(76, 74, 151); /* oklch */ color: oklch(45.1% 0.122 281.5);
Tailwind
colors: {
custom: {
50: '#837cb6',
500: '#4c4a97',
950: '#000000',
},
}SCSS
$custom: #4c4a97; $custom-light: #837cb6; $custom-dark: #000000;
JSON
{
"hex": "#4c4a97",
"rgb": {
"r": 76,
"g": 74,
"b": 151
},
"hsl": {
"h": 241.558,
"s": 34.222,
"l": 44.118
},
"oklch": {
"l": 0.45146,
"c": 0.12245,
"h": 281.5
},
"luminance": 0.08668
}Semantic roles & 50–950 ramp
primary
#4C4A97
secondary
#B4B687
accent
#CA5DC7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80