#4F57E5#4F57E5
#4F57E5 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.211 H 274.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4F57E5 |
|---|---|
| RGB | rgb(79, 87, 229) |
| HSL | hsl(237, 74%, 60%) |
| HSV | hsv(237, 66%, 90%) |
| CMYK | cmyk(65.5%, 62%, 0%, 10.2%) |
| CIE-LAB | lab(44.42, 40.72, -73.03) |
| CIE-LCH | lch(44.42, 83.62, 299.14°) |
| OKLab | oklab(53.74% 0.0159 -0.2106) |
| OKLCH | oklch(53.74% 0.211 274.3) |
| XYZ | xyz(20.7708, 14.1340, 75.7471) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.52
Electric Blue
#0652FF
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 4.46
Azul
#1D5DEC
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.02
Iris
#6258C4
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F57E5 #E5DD4F
analogous
#4FA2E5 #4F57E5 #924FE5
triadic
#4F57E5 #E54F57 #57E54F
tetradic
#4F57E5 #E54FA2 #E5DD4F #4FE592
square
#4F57E5 #E54FA2 #E5DD4F #4FE592
split-complementary
#4F57E5 #E5924F #A2E54F
monochromatic
#181FA2 #202AD7 #4F57E5 #848AED #BABDF5
Accessibility & contrast
On white
5.49
#4F57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#4F57E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F57E5
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F57E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F57E5 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4f57e5; /* rgb */ color: rgb(79, 87, 229); /* oklch */ color: oklch(53.7% 0.211 274.3);
Tailwind
colors: {
custom: {
50: '#9186ee',
500: '#4f57e5',
950: '#000000',
},
}SCSS
$custom: #4f57e5; $custom-light: #9186ee; $custom-dark: #000000;
JSON
{
"hex": "#4f57e5",
"rgb": {
"r": 79,
"g": 87,
"b": 229
},
"hsl": {
"h": 236.8,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.53736,
"c": 0.21119,
"h": 274.3
},
"luminance": 0.14136
}Semantic roles & 50–950 ramp
primary
#4F57E5
secondary
#E5E1AB
accent
#CC0FD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85