#4F52E5#4F52E5
#4F52E5 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.217 H 275.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52E5 |
|---|---|
| RGB | rgb(79, 82, 229) |
| HSL | hsl(239, 74%, 60%) |
| HSV | hsv(239, 66%, 90%) |
| CMYK | cmyk(65.5%, 64.2%, 0%, 10.2%) |
| CIE-LAB | lab(43.29, 43.71, -74.89) |
| CIE-LCH | lch(43.29, 86.71, 300.27°) |
| OKLab | oklab(52.91% 0.0196 -0.2161) |
| OKLCH | oklch(52.91% 0.217 275.2) |
| XYZ | xyz(20.3799, 13.3522, 75.6168) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.13
Electric Blue
#0652FF
ΔE00 4.30
Purpleish Blue
#6140EF
ΔE00 5.08
Iris
#6258C4
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52E5 #E5E24F
analogous
#4F9DE5 #4F52E5 #974FE5
triadic
#4F52E5 #E54F52 #52E54F
tetradic
#4F52E5 #E54F9D #E5E24F #4FE597
square
#4F52E5 #E54F9D #E5E24F #4FE597
split-complementary
#4F52E5 #E5974F #9DE54F
monochromatic
#181BA2 #2023D7 #4F52E5 #8486ED #BABBF5
Accessibility & contrast
On white
5.72
#4F52E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#4F52E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52E5
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52E5 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f52e5; /* rgb */ color: rgb(79, 82, 229); /* oklch */ color: oklch(52.9% 0.217 275.2);
Tailwind
colors: {
custom: {
50: '#9183ee',
500: '#4f52e5',
950: '#000000',
},
}SCSS
$custom: #4f52e5; $custom-light: #9183ee; $custom-dark: #000000;
JSON
{
"hex": "#4f52e5",
"rgb": {
"r": 79,
"g": 82,
"b": 229
},
"hsl": {
"h": 238.8,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.52906,
"c": 0.21695,
"h": 275.2
},
"luminance": 0.13354
}Semantic roles & 50–950 ramp
primary
#4F52E5
secondary
#E5E3AB
accent
#D20FD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85