#4E478F#4E478F
#4E478F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.2% C 0.115 H 285.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4E478F |
|---|---|
| RGB | rgb(78, 71, 143) |
| HSL | hsl(246, 34%, 42%) |
| HSV | hsv(246, 50%, 56%) |
| CMYK | cmyk(45.5%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(34.21, 22.36, -39.09) |
| CIE-LCH | lch(34.21, 45.03, 299.77°) |
| OKLab | oklab(44.18% 0.0299 -0.1109) |
| OKLCH | oklch(44.18% 0.115 285.1) |
| XYZ | xyz(10.3516, 8.1089, 27.0010) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.92
Darkslateblue
#483D8B
ΔE00 3.10
Twilight
#4E518B
ΔE00 3.95
Dusk
#4E5481
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.77
Rebeccapurple
#663399
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E478F #888F47
analogous
#47648F #4E478F #72478F
triadic
#4E478F #8F4E47 #478F4E
tetradic
#4E478F #8F4764 #888F47 #478F72
square
#4E478F #8F4764 #888F47 #478F72
split-complementary
#4E478F #8F7247 #648F47
monochromatic
#211E3D #383366 #4E478F #6A62B1 #918BC5
Accessibility & contrast
On white
8.01
#4E478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#4E478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E478F
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E478F | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#3A5664
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4e478f; /* rgb */ color: rgb(78, 71, 143); /* oklch */ color: oklch(44.2% 0.115 285.1);
Tailwind
colors: {
custom: {
50: '#847ab0',
500: '#4e478f',
950: '#000000',
},
}SCSS
$custom: #4e478f; $custom-light: #847ab0; $custom-dark: #000000;
JSON
{
"hex": "#4e478f",
"rgb": {
"r": 78,
"g": 71,
"b": 143
},
"hsl": {
"h": 245.833,
"s": 33.645,
"l": 41.961
},
"oklch": {
"l": 0.44177,
"c": 0.11491,
"h": 285.1
},
"luminance": 0.08109
}Semantic roles & 50–950 ramp
primary
#4E478F
secondary
#ACB181
accent
#CA5EBF
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0910
muted
#7C7B7F