#4E548A#4E548A
#4E548A is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.088 H 277.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4E548A |
|---|---|
| RGB | rgb(78, 84, 138) |
| HSL | hsl(234, 28%, 42%) |
| HSV | hsv(234, 43%, 54%) |
| CMYK | cmyk(43.5%, 39.1%, 0%, 45.9%) |
| CIE-LAB | lab(37.47, 12.43, -30.85) |
| CIE-LCH | lch(37.47, 33.26, 291.94°) |
| OKLab | oklab(46.56% 0.0116 -0.0868) |
| OKLCH | oklch(46.56% 0.088 277.6) |
| XYZ | xyz(10.8983, 9.7948, 25.3562) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.23
Dusk
#4E5481
ΔE00 2.04
Dusky Blue
#475F94
ΔE00 5.50
Denim Blue
#3B5B92
ΔE00 6.50
Blueberry
#464196
ΔE00 7.37
Darkslateblue
#483D8B
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E548A #8A844E
analogous
#4E728A #4E548A #664E8A
triadic
#4E548A #8A4E54 #548A4E
tetradic
#4E548A #8A4E72 #8A844E #4E8A66
square
#4E548A #8A4E72 #8A844E #4E8A66
split-complementary
#4E548A #8A664E #728A4E
monochromatic
#22243C #383C63 #4E548A #6A71AB #9196C1
Accessibility & contrast
On white
7.10
#4E548A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#4E548A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E548A
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E548A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E548A | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#3B5F68
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4e548a; /* rgb */ color: rgb(78, 84, 138); /* oklch */ color: oklch(46.6% 0.088 277.6);
Tailwind
colors: {
custom: {
50: '#8284ac',
500: '#4e548a',
950: '#000000',
},
}SCSS
$custom: #4e548a; $custom-light: #8284ac; $custom-dark: #000000;
JSON
{
"hex": "#4e548a",
"rgb": {
"r": 78,
"g": 84,
"b": 138
},
"hsl": {
"h": 234,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.46563,
"c": 0.08759,
"h": 277.6
},
"luminance": 0.09795
}Semantic roles & 50–950 ramp
primary
#4E548A
secondary
#AEAA86
accent
#BA64C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F