#4C4E9D#4C4E9D
#4C4E9D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.125 H 279.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4E9D |
|---|---|
| RGB | rgb(76, 78, 157) |
| HSL | hsl(239, 35%, 46%) |
| HSV | hsv(239, 52%, 62%) |
| CMYK | cmyk(51.6%, 50.3%, 0%, 38.4%) |
| CIE-LAB | lab(36.78, 21.86, -43.47) |
| CIE-LCH | lch(36.78, 48.65, 296.70°) |
| OKLab | oklab(46.36% 0.0201 -0.1238) |
| OKLCH | oklch(46.36% 0.125 279.2) |
| XYZ | xyz(11.7888, 9.4189, 33.0886) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.89
Blueberry
#464196
ΔE00 4.08
Darkslateblue
#483D8B
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 5.83
Dusk
#4E5481
ΔE00 6.48
Dusky Blue
#475F94
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4E9D #9D9B4C
analogous
#4C769D #4C4E9D #724C9D
triadic
#4C4E9D #9D4C4E #4E9D4C
tetradic
#4C4E9D #9D4C76 #9D9B4C #4C9D72
square
#4C4E9D #9D4C76 #9D9B4C #4C9D72
split-complementary
#4C4E9D #9D724C #769D4C
monochromatic
#24254B #383A74 #4C4E9D #6E6FB9 #9798CD
Accessibility & contrast
On white
7.28
#4C4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#4C4E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4E9D
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4E9D | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#2B5F6E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4c4e9d; /* rgb */ color: rgb(76, 78, 157); /* oklch */ color: oklch(46.4% 0.125 279.2);
Tailwind
colors: {
custom: {
50: '#847fba',
500: '#4c4e9d',
950: '#000000',
},
}SCSS
$custom: #4c4e9d; $custom-light: #847fba; $custom-dark: #000000;
JSON
{
"hex": "#4c4e9d",
"rgb": {
"r": 76,
"g": 78,
"b": 157
},
"hsl": {
"h": 238.519,
"s": 34.764,
"l": 45.686
},
"oklch": {
"l": 0.46355,
"c": 0.12544,
"h": 279.2
},
"luminance": 0.0942
}Semantic roles & 50–950 ramp
primary
#4C4E9D
secondary
#B9B88C
accent
#C85DCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81