#4E5197#4E5197
#4E5197 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.7% C 0.112 H 279.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5197 |
|---|---|
| RGB | rgb(78, 81, 151) |
| HSL | hsl(238, 32%, 45%) |
| HSV | hsv(238, 48%, 59%) |
| CMYK | cmyk(48.3%, 46.4%, 0%, 40.8%) |
| CIE-LAB | lab(37.37, 18.46, -38.90) |
| CIE-LCH | lch(37.37, 43.06, 295.39°) |
| OKLab | oklab(46.72% 0.018 -0.1103) |
| OKLCH | oklch(46.72% 0.112 279.3) |
| XYZ | xyz(11.6685, 9.7383, 30.5370) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.39
Dusk
#4E5481
ΔE00 4.97
Blueberry
#464196
ΔE00 5.20
Dusky Blue
#475F94
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.44
Denim Blue
#3B5B92
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5197 #97944E
analogous
#4E7697 #4E5197 #6F4E97
triadic
#4E5197 #974E51 #51974E
tetradic
#4E5197 #974E76 #97944E #4E976F
square
#4E5197 #974E76 #97944E #4E976F
split-complementary
#4E5197 #976F4E #76974E
monochromatic
#242646 #393B6F #4E5197 #6E71B4 #9698C9
Accessibility & contrast
On white
7.12
#4E5197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#4E5197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5197
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5197 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#2F5595
Tritanopia (blue-blind)
#34606C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4e5197; /* rgb */ color: rgb(78, 81, 151); /* oklch */ color: oklch(46.7% 0.112 279.3);
Tailwind
colors: {
custom: {
50: '#8481b6',
500: '#4e5197',
950: '#000000',
},
}SCSS
$custom: #4e5197; $custom-light: #8481b6; $custom-dark: #000000;
JSON
{
"hex": "#4e5197",
"rgb": {
"r": 78,
"g": 81,
"b": 151
},
"hsl": {
"h": 237.534,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.46721,
"c": 0.1118,
"h": 279.3
},
"luminance": 0.09739
}Semantic roles & 50–950 ramp
primary
#4E5197
secondary
#B6B48B
accent
#C460C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80