#4E5097#4E5097
#4E5097 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.5% C 0.113 H 279.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5097 |
|---|---|
| RGB | rgb(78, 80, 151) |
| HSL | hsl(238, 32%, 45%) |
| HSV | hsv(238, 48%, 59%) |
| CMYK | cmyk(48.3%, 47%, 0%, 40.8%) |
| CIE-LAB | lab(37.10, 19.11, -39.33) |
| CIE-LCH | lch(37.10, 43.73, 295.91°) |
| OKLab | oklab(46.52% 0.0193 -0.1116) |
| OKLCH | oklch(46.52% 0.113 279.8) |
| XYZ | xyz(11.5948, 9.5908, 30.5124) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.50
Blueberry
#464196
ΔE00 4.86
Dusk
#4E5481
ΔE00 5.15
Darkslateblue
#483D8B
ΔE00 6.10
Dusky Blue
#475F94
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5097 #97954E
analogous
#4E7597 #4E5097 #704E97
triadic
#4E5097 #974E50 #50974E
tetradic
#4E5097 #974E75 #97954E #4E9770
square
#4E5097 #974E75 #97954E #4E9770
split-complementary
#4E5097 #97704E #75974E
monochromatic
#242546 #393B6F #4E5097 #6E70B4 #9698C9
Accessibility & contrast
On white
7.20
#4E5097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#4E5097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5097
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5097 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#2D5595
Tritanopia (blue-blind)
#345F6C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4e5097; /* rgb */ color: rgb(78, 80, 151); /* oklch */ color: oklch(46.5% 0.113 279.8);
Tailwind
colors: {
custom: {
50: '#8481b6',
500: '#4e5097',
950: '#000000',
},
}SCSS
$custom: #4e5097; $custom-light: #8481b6; $custom-dark: #000000;
JSON
{
"hex": "#4e5097",
"rgb": {
"r": 78,
"g": 80,
"b": 151
},
"hsl": {
"h": 238.356,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.46516,
"c": 0.11327,
"h": 279.8
},
"luminance": 0.09591
}Semantic roles & 50–950 ramp
primary
#4E5097
secondary
#B6B48B
accent
#C560C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80