#4E5098#4E5098
#4E5098 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.6% C 0.115 H 279.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5098 |
|---|---|
| RGB | rgb(78, 80, 152) |
| HSL | hsl(238, 32%, 45%) |
| HSV | hsv(238, 49%, 60%) |
| CMYK | cmyk(48.7%, 47.4%, 0%, 40.4%) |
| CIE-LAB | lab(37.16, 19.43, -39.84) |
| CIE-LCH | lch(37.16, 44.32, 296.00°) |
| OKLab | oklab(46.58% 0.0194 -0.1131) |
| OKLCH | oklch(46.58% 0.115 279.8) |
| XYZ | xyz(11.6763, 9.6234, 30.9419) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.69
Blueberry
#464196
ΔE00 4.81
Dusk
#4E5481
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 6.12
Dusky Blue
#475F94
ΔE00 6.54
Ocean Blue
#4F42B5
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5098 #98964E
analogous
#4E7598 #4E5098 #714E98
triadic
#4E5098 #984E50 #50984E
tetradic
#4E5098 #984E75 #98964E #4E9871
square
#4E5098 #984E75 #98964E #4E9871
split-complementary
#4E5098 #98714E #75984E
monochromatic
#242547 #393B70 #4E5098 #6E70B5 #9798CA
Accessibility & contrast
On white
7.18
#4E5098 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#4E5098 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5098
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5098 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5098 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#2C5596
Tritanopia (blue-blind)
#335F6C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4e5098; /* rgb */ color: rgb(78, 80, 152); /* oklch */ color: oklch(46.6% 0.115 279.8);
Tailwind
colors: {
custom: {
50: '#8481b7',
500: '#4e5098',
950: '#000000',
},
}SCSS
$custom: #4e5098; $custom-light: #8481b7; $custom-dark: #000000;
JSON
{
"hex": "#4e5098",
"rgb": {
"r": 78,
"g": 80,
"b": 152
},
"hsl": {
"h": 238.378,
"s": 32.174,
"l": 45.098
},
"oklch": {
"l": 0.46581,
"c": 0.11476,
"h": 279.8
},
"luminance": 0.09624
}Semantic roles & 50–950 ramp
primary
#4E5098
secondary
#B6B58C
accent
#C55FC8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80