#4C4E99#4C4E99
#4C4E99 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.1% C 0.120 H 279.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4E99 |
|---|---|
| RGB | rgb(76, 78, 153) |
| HSL | hsl(238, 34%, 45%) |
| HSV | hsv(238, 50%, 60%) |
| CMYK | cmyk(50.3%, 49%, 0%, 40%) |
| CIE-LAB | lab(36.53, 20.55, -41.46) |
| CIE-LCH | lch(36.53, 46.27, 296.37°) |
| OKLab | oklab(46.08% 0.0197 -0.1179) |
| OKLCH | oklch(46.08% 0.12 279.5) |
| XYZ | xyz(11.4529, 9.2846, 31.3194) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.22
Blueberry
#464196
ΔE00 4.12
Darkslateblue
#483D8B
ΔE00 5.59
Dusk
#4E5481
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 6.40
Dusky Blue
#475F94
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4E99 #99974C
analogous
#4C7499 #4C4E99 #714C99
triadic
#4C4E99 #994C4E #4E994C
tetradic
#4C4E99 #994C74 #99974C #4C9971
square
#4C4E99 #994C74 #99974C #4C9971
split-complementary
#4C4E99 #99714C #74994C
monochromatic
#232447 #383970 #4C4E99 #6C6EB6 #9596CA
Accessibility & contrast
On white
7.35
#4C4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#4C4E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4E99
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4E99 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#2F5E6C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4c4e99; /* rgb */ color: rgb(76, 78, 153); /* oklch */ color: oklch(46.1% 0.120 279.5);
Tailwind
colors: {
custom: {
50: '#837fb7',
500: '#4c4e99',
950: '#000000',
},
}SCSS
$custom: #4c4e99; $custom-light: #837fb7; $custom-dark: #000000;
JSON
{
"hex": "#4c4e99",
"rgb": {
"r": 76,
"g": 78,
"b": 153
},
"hsl": {
"h": 238.442,
"s": 33.624,
"l": 44.902
},
"oklch": {
"l": 0.46084,
"c": 0.11956,
"h": 279.5
},
"luminance": 0.09285
}Semantic roles & 50–950 ramp
primary
#4C4E99
secondary
#B7B68A
accent
#C75ECA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80