#4E57B1#4E57B1
#4E57B1 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.141 H 275.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4E57B1 |
|---|---|
| RGB | rgb(78, 87, 177) |
| HSL | hsl(235, 39%, 50%) |
| HSV | hsv(235, 56%, 69%) |
| CMYK | cmyk(55.9%, 50.8%, 0%, 30.6%) |
| CIE-LAB | lab(40.59, 23.15, -49.24) |
| CIE-LCH | lch(40.59, 54.41, 295.18°) |
| OKLab | oklab(49.68% 0.014 -0.1407) |
| OKLCH | oklch(49.68% 0.141 275.7) |
| XYZ | xyz(14.4833, 11.6094, 43.0641) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.69
Warm Blue
#4B57DB
ΔE00 5.86
Dusky Blue
#475F94
ΔE00 5.97
Dark Periwinkle
#665FD1
ΔE00 6.56
Slate Blue
#6A5ACD
ΔE00 6.58
Sapphire
#0F52BA
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E57B1 #B1A84E
analogous
#4E89B1 #4E57B1 #764EB1
triadic
#4E57B1 #B14E57 #57B14E
tetradic
#4E57B1 #B14E89 #B1A84E #4EB176
square
#4E57B1 #B14E89 #B1A84E #4EB176
split-complementary
#4E57B1 #B1764E #89B14E
monochromatic
#292D5C #3B4287 #4E57B1 #787FC4 #A3A8D6
Accessibility & contrast
On white
6.32
#4E57B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#4E57B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E57B1
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E57B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E57B1 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2964B4
Deuteranopia (green-blind)
#195CAF
Tritanopia (blue-blind)
#196B7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4e57b1; /* rgb */ color: rgb(78, 87, 177); /* oklch */ color: oklch(49.7% 0.141 275.7);
Tailwind
colors: {
custom: {
50: '#8786c9',
500: '#4e57b1',
950: '#000000',
},
}SCSS
$custom: #4e57b1; $custom-light: #8786c9; $custom-dark: #000000;
JSON
{
"hex": "#4e57b1",
"rgb": {
"r": 78,
"g": 87,
"b": 177
},
"hsl": {
"h": 234.545,
"s": 38.824,
"l": 50
},
"oklch": {
"l": 0.49678,
"c": 0.14137,
"h": 275.7
},
"luminance": 0.1161
}Semantic roles & 50–950 ramp
primary
#4E57B1
secondary
#C4C097
accent
#C459CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82