#4E5498#4E5498
#4E5498 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.4% C 0.109 H 277.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5498 |
|---|---|
| RGB | rgb(78, 84, 152) |
| HSL | hsl(235, 32%, 45%) |
| HSV | hsv(235, 49%, 60%) |
| CMYK | cmyk(48.7%, 44.7%, 0%, 40.4%) |
| CIE-LAB | lab(38.25, 16.86, -38.10) |
| CIE-LCH | lch(38.25, 41.67, 293.87°) |
| OKLab | oklab(47.41% 0.0144 -0.108) |
| OKLCH | oklch(47.41% 0.109 277.6) |
| XYZ | xyz(11.9780, 10.2267, 31.0425) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.58
Dusk
#4E5481
ΔE00 4.76
Dusky Blue
#475F94
ΔE00 5.19
Denim Blue
#3B5B92
ΔE00 6.06
Blueberry
#464196
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5498 #98924E
analogous
#4E7998 #4E5498 #6D4E98
triadic
#4E5498 #984E54 #54984E
tetradic
#4E5498 #984E79 #98924E #4E986D
square
#4E5498 #984E79 #98924E #4E986D
split-complementary
#4E5498 #986D4E #79984E
monochromatic
#242747 #393E70 #4E5498 #6E74B5 #979BCA
Accessibility & contrast
On white
6.90
#4E5498 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4E5498 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5498
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5498 | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#335796
Tritanopia (blue-blind)
#33626E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e5498; /* rgb */ color: rgb(78, 84, 152); /* oklch */ color: oklch(47.4% 0.109 277.6);
Tailwind
colors: {
custom: {
50: '#8484b7',
500: '#4e5498',
950: '#000000',
},
}SCSS
$custom: #4e5498; $custom-light: #8484b7; $custom-dark: #000000;
JSON
{
"hex": "#4e5498",
"rgb": {
"r": 78,
"g": 84,
"b": 152
},
"hsl": {
"h": 235.135,
"s": 32.174,
"l": 45.098
},
"oklch": {
"l": 0.47407,
"c": 0.10894,
"h": 277.6
},
"luminance": 0.10227
}Semantic roles & 50–950 ramp
primary
#4E5498
secondary
#B6B38C
accent
#C05FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80