#4E478E#4E478E
#4E478E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.113 H 285.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4E478E |
|---|---|
| RGB | rgb(78, 71, 142) |
| HSL | hsl(246, 33%, 42%) |
| HSV | hsv(246, 50%, 56%) |
| CMYK | cmyk(45.1%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(34.15, 22.05, -38.57) |
| CIE-LCH | lch(34.15, 44.43, 299.75°) |
| OKLab | oklab(44.11% 0.0298 -0.1094) |
| OKLCH | oklch(44.11% 0.113 285.2) |
| XYZ | xyz(10.2762, 8.0787, 26.6038) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.07
Darkslateblue
#483D8B
ΔE00 3.13
Twilight
#4E518B
ΔE00 3.88
Dusk
#4E5481
ΔE00 6.26
Ocean Blue
#4F42B5
ΔE00 6.96
Rebeccapurple
#663399
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E478E #878E47
analogous
#47648E #4E478E #72478E
triadic
#4E478E #8E4E47 #478E4E
tetradic
#4E478E #8E4764 #878E47 #478E72
square
#4E478E #8E4764 #878E47 #478E72
split-complementary
#4E478E #8E7247 #648E47
monochromatic
#211E3C #383365 #4E478E #6A62B0 #908BC5
Accessibility & contrast
On white
8.03
#4E478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#4E478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E478E
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E478E | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#3A5664
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4e478e; /* rgb */ color: rgb(78, 71, 142); /* oklch */ color: oklch(44.1% 0.113 285.2);
Tailwind
colors: {
custom: {
50: '#837aaf',
500: '#4e478e',
950: '#000000',
},
}SCSS
$custom: #4e478e; $custom-light: #837aaf; $custom-dark: #000000;
JSON
{
"hex": "#4e478e",
"rgb": {
"r": 78,
"g": 71,
"b": 142
},
"hsl": {
"h": 245.915,
"s": 33.333,
"l": 41.765
},
"oklch": {
"l": 0.4411,
"c": 0.11343,
"h": 285.2
},
"luminance": 0.08079
}Semantic roles & 50–950 ramp
primary
#4E478E
secondary
#ACB080
accent
#C95EBF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F