#4E4C8F#4E4C8F
#4E4C8F is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.2% C 0.107 H 282.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4C8F |
|---|---|
| RGB | rgb(78, 76, 143) |
| HSL | hsl(242, 31%, 43%) |
| HSV | hsv(242, 47%, 56%) |
| CMYK | cmyk(45.5%, 46.9%, 0%, 43.9%) |
| CIE-LAB | lab(35.54, 19.14, -36.96) |
| CIE-LCH | lch(35.54, 41.62, 297.38°) |
| OKLab | oklab(45.18% 0.0233 -0.1047) |
| OKLCH | oklch(45.18% 0.107 282.6) |
| XYZ | xyz(10.6828, 8.7713, 27.1114) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.22
Blueberry
#464196
ΔE00 4.23
Darkslateblue
#483D8B
ΔE00 4.78
Dusk
#4E5481
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 7.58
Dusky Blue
#475F94
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4C8F #8D8F4C
analogous
#4C6B8F #4E4C8F #6F4C8F
triadic
#4E4C8F #8F4E4C #4C8F4E
tetradic
#4E4C8F #8F4C6B #8D8F4C #4C8F6F
square
#4E4C8F #8F4C6B #8D8F4C #4C8F6F
split-complementary
#4E4C8F #8F6F4C #6B8F4C
monochromatic
#22223F #383767 #4E4C8F #6B69AF #9291C4
Accessibility & contrast
On white
7.62
#4E4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#4E4C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4C8F
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4C8F | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#395A66
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4e4c8f; /* rgb */ color: rgb(78, 76, 143); /* oklch */ color: oklch(45.2% 0.107 282.6);
Tailwind
colors: {
custom: {
50: '#837eb0',
500: '#4e4c8f',
950: '#000000',
},
}SCSS
$custom: #4e4c8f; $custom-light: #837eb0; $custom-dark: #000000;
JSON
{
"hex": "#4e4c8f",
"rgb": {
"r": 78,
"g": 76,
"b": 143
},
"hsl": {
"h": 241.791,
"s": 30.594,
"l": 42.941
},
"oklch": {
"l": 0.45181,
"c": 0.10726,
"h": 282.6
},
"luminance": 0.08772
}Semantic roles & 50–950 ramp
primary
#4E4C8F
secondary
#AFB186
accent
#C761C4
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0910
muted
#7C7B7F