#4E57A4#4E57A4
#4E57A4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.123 H 275.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4E57A4 |
|---|---|
| RGB | rgb(78, 87, 164) |
| HSL | hsl(234, 36%, 47%) |
| HSV | hsv(234, 52%, 64%) |
| CMYK | cmyk(52.4%, 47%, 0%, 35.7%) |
| CIE-LAB | lab(39.77, 18.84, -42.85) |
| CIE-LCH | lch(39.77, 46.81, 293.74°) |
| OKLab | oklab(48.8% 0.0125 -0.1219) |
| OKLCH | oklch(48.8% 0.123 275.9) |
| XYZ | xyz(13.2488, 11.1156, 36.5622) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.78
Dusky Blue
#475F94
ΔE00 4.79
Denim Blue
#3B5B92
ΔE00 5.70
Iris
#6258C4
ΔE00 6.23
Dusk
#4E5481
ΔE00 6.67
Blueberry
#464196
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E57A4 #A49B4E
analogous
#4E82A4 #4E57A4 #704EA4
triadic
#4E57A4 #A44E57 #57A44E
tetradic
#4E57A4 #A44E82 #A49B4E #4EA470
square
#4E57A4 #A44E82 #A49B4E #4EA470
split-complementary
#4E57A4 #A4704E #82A44E
monochromatic
#272B51 #3A417B #4E57A4 #737BBC #9CA2D0
Accessibility & contrast
On white
6.52
#4E57A4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#4E57A4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E57A4
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E57A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E57A4 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#2C5AA2
Tritanopia (blue-blind)
#296875
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4e57a4; /* rgb */ color: rgb(78, 87, 164); /* oklch */ color: oklch(48.8% 0.123 275.9);
Tailwind
colors: {
custom: {
50: '#8686bf',
500: '#4e57a4',
950: '#000000',
},
}SCSS
$custom: #4e57a4; $custom-light: #8686bf; $custom-dark: #000000;
JSON
{
"hex": "#4e57a4",
"rgb": {
"r": 78,
"g": 87,
"b": 164
},
"hsl": {
"h": 233.721,
"s": 35.537,
"l": 47.451
},
"oklch": {
"l": 0.488,
"c": 0.12252,
"h": 275.9
},
"luminance": 0.11116
}Semantic roles & 50–950 ramp
primary
#4E57A4
secondary
#BDB891
accent
#C05CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81