#4C4E9E#4C4E9E
#4C4E9E is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.127 H 279.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4E9E |
|---|---|
| RGB | rgb(76, 78, 158) |
| HSL | hsl(239, 35%, 46%) |
| HSV | hsv(239, 52%, 62%) |
| CMYK | cmyk(51.9%, 50.6%, 0%, 38%) |
| CIE-LAB | lab(36.84, 22.19, -43.96) |
| CIE-LCH | lch(36.84, 49.24, 296.78°) |
| OKLab | oklab(46.42% 0.0202 -0.1253) |
| OKLCH | oklch(46.42% 0.127 279.2) |
| XYZ | xyz(11.8745, 9.4532, 33.5401) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.06
Blueberry
#464196
ΔE00 4.09
Ocean Blue
#4F42B5
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 5.84
Dusk
#4E5481
ΔE00 6.63
Dusky Blue
#475F94
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4E9E #9E9C4C
analogous
#4C779E #4C4E9E #734C9E
triadic
#4C4E9E #9E4C4E #4E9E4C
tetradic
#4C4E9E #9E4C77 #9E9C4C #4C9E73
square
#4C4E9E #9E4C77 #9E9C4C #4C9E73
split-complementary
#4C4E9E #9E734C #779E4C
monochromatic
#24254B #383A75 #4C4E9E #6E70B9 #9799CD
Accessibility & contrast
On white
7.26
#4C4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#4C4E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4E9E
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4E9E | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#20549C
Tritanopia (blue-blind)
#2B606E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4c4e9e; /* rgb */ color: rgb(76, 78, 158); /* oklch */ color: oklch(46.4% 0.127 279.2);
Tailwind
colors: {
custom: {
50: '#847fbb',
500: '#4c4e9e',
950: '#000000',
},
}SCSS
$custom: #4c4e9e; $custom-light: #847fbb; $custom-dark: #000000;
JSON
{
"hex": "#4c4e9e",
"rgb": {
"r": 76,
"g": 78,
"b": 158
},
"hsl": {
"h": 238.537,
"s": 35.043,
"l": 45.882
},
"oklch": {
"l": 0.46424,
"c": 0.1269,
"h": 279.2
},
"luminance": 0.09454
}Semantic roles & 50–950 ramp
primary
#4C4E9E
secondary
#B9B88C
accent
#C85DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81