#4F58E2#4F58E2
#4F58E2 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.206 H 274.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58E2 |
|---|---|
| RGB | rgb(79, 88, 226) |
| HSL | hsl(236, 72%, 60%) |
| HSV | hsv(236, 65%, 89%) |
| CMYK | cmyk(65%, 61.1%, 0%, 11.4%) |
| CIE-LAB | lab(44.42, 39.11, -71.34) |
| CIE-LCH | lch(44.42, 81.36, 298.74°) |
| OKLab | oklab(53.66% 0.0152 -0.2056) |
| OKLCH | oklch(53.66% 0.206 274.2) |
| XYZ | xyz(20.4371, 14.1309, 73.5873) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.18
Dark Periwinkle
#665FD1
ΔE00 4.22
Electric Blue
#0652FF
ΔE00 4.46
Azul
#1D5DEC
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 4.88
Iris
#6258C4
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58E2 #E2D94F
analogous
#4FA1E2 #4F58E2 #904FE2
triadic
#4F58E2 #E24F58 #58E24F
tetradic
#4F58E2 #E24FA1 #E2D94F #4FE290
square
#4F58E2 #E24FA1 #E2D94F #4FE290
split-complementary
#4F58E2 #E2904F #A1E24F
monochromatic
#1A229D #222DD1 #4F58E2 #848AEB #B8BCF3
Accessibility & contrast
On white
5.49
#4F58E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#4F58E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58E2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58E2 | 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)
#0070E6
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4f58e2; /* rgb */ color: rgb(79, 88, 226); /* oklch */ color: oklch(53.7% 0.206 274.2);
Tailwind
colors: {
custom: {
50: '#9087ec',
500: '#4f58e2',
950: '#000000',
},
}SCSS
$custom: #4f58e2; $custom-light: #9087ec; $custom-dark: #000000;
JSON
{
"hex": "#4f58e2",
"rgb": {
"r": 79,
"g": 88,
"b": 226
},
"hsl": {
"h": 236.327,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.5366,
"c": 0.20618,
"h": 274.2
},
"luminance": 0.14133
}Semantic roles & 50–950 ramp
primary
#4F58E2
secondary
#E3DFAA
accent
#E339EE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84