#4E5295#4E5295
#4E5295 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.107 H 278.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5295 |
|---|---|
| RGB | rgb(78, 82, 149) |
| HSL | hsl(237, 31%, 45%) |
| HSV | hsv(237, 48%, 58%) |
| CMYK | cmyk(47.7%, 45%, 0%, 41.6%) |
| CIE-LAB | lab(37.52, 17.18, -37.44) |
| CIE-LCH | lch(37.52, 41.20, 294.65°) |
| OKLab | oklab(46.8% 0.0164 -0.1061) |
| OKLCH | oklch(46.8% 0.107 278.8) |
| XYZ | xyz(11.5823, 9.8236, 29.7138) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.96
Dusk
#4E5481
ΔE00 4.46
Blueberry
#464196
ΔE00 5.65
Dusky Blue
#475F94
ΔE00 5.84
Denim Blue
#3B5B92
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5295 #95914E
analogous
#4E7695 #4E5295 #6E4E95
triadic
#4E5295 #954E52 #52954E
tetradic
#4E5295 #954E76 #95914E #4E956E
square
#4E5295 #954E76 #95914E #4E956E
split-complementary
#4E5295 #956E4E #76954E
monochromatic
#242645 #393C6D #4E5295 #6D71B3 #9698C8
Accessibility & contrast
On white
7.08
#4E5295 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#4E5295 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5295
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5295 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#325693
Tritanopia (blue-blind)
#35606C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4e5295; /* rgb */ color: rgb(78, 82, 149); /* oklch */ color: oklch(46.8% 0.107 278.8);
Tailwind
colors: {
custom: {
50: '#8482b4',
500: '#4e5295',
950: '#000000',
},
}SCSS
$custom: #4e5295; $custom-light: #8482b4; $custom-dark: #000000;
JSON
{
"hex": "#4e5295",
"rgb": {
"r": 78,
"g": 82,
"b": 149
},
"hsl": {
"h": 236.62,
"s": 31.278,
"l": 44.51
},
"oklch": {
"l": 0.46801,
"c": 0.10733,
"h": 278.8
},
"luminance": 0.09824
}Semantic roles & 50–950 ramp
primary
#4E5295
secondary
#B4B28A
accent
#C260C7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80