#4F58E4#4F58E4
#4F58E4 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.209 H 274.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58E4 |
|---|---|
| RGB | rgb(79, 88, 228) |
| HSL | hsl(236, 73%, 60%) |
| HSV | hsv(236, 65%, 89%) |
| CMYK | cmyk(65.4%, 61.4%, 0%, 10.6%) |
| CIE-LAB | lab(44.58, 39.78, -72.22) |
| CIE-LCH | lch(44.58, 82.45, 298.85°) |
| OKLab | oklab(53.82% 0.0151 -0.2082) |
| OKLCH | oklch(53.82% 0.209 274.2) |
| XYZ | xyz(20.7131, 14.2413, 75.0410) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.42
Dark Periwinkle
#665FD1
ΔE00 4.31
Electric Blue
#0652FF
ΔE00 4.35
Azul
#1D5DEC
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 4.98
Iris
#6258C4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58E4 #E4DB4F
analogous
#4FA2E4 #4F58E4 #914FE4
triadic
#4F58E4 #E44F58 #58E44F
tetradic
#4F58E4 #E44FA2 #E4DB4F #4FE491
square
#4F58E4 #E44FA2 #E4DB4F #4FE491
split-complementary
#4F58E4 #E4914F #A2E44F
monochromatic
#1921A0 #212CD5 #4F58E4 #848AEC #B9BDF4
Accessibility & contrast
On white
5.46
#4F58E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#4F58E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58E4
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58E4 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4f58e4; /* rgb */ color: rgb(79, 88, 228); /* oklch */ color: oklch(53.8% 0.209 274.2);
Tailwind
colors: {
custom: {
50: '#9187ee',
500: '#4f58e4',
950: '#000000',
},
}SCSS
$custom: #4f58e4; $custom-light: #9187ee; $custom-dark: #000000;
JSON
{
"hex": "#4f58e4",
"rgb": {
"r": 79,
"g": 88,
"b": 228
},
"hsl": {
"h": 236.376,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.53824,
"c": 0.20874,
"h": 274.2
},
"luminance": 0.14243
}Semantic roles & 50–950 ramp
primary
#4F58E4
secondary
#E4E1AB
accent
#CA10D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84