#4F52E4#4F52E4
#4F52E4 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.216 H 275.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52E4 |
|---|---|
| RGB | rgb(79, 82, 228) |
| HSL | hsl(239, 73%, 60%) |
| HSV | hsv(239, 65%, 89%) |
| CMYK | cmyk(65.4%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(43.21, 43.38, -74.46) |
| CIE-LCH | lch(43.21, 86.17, 300.23°) |
| OKLab | oklab(52.82% 0.0197 -0.2148) |
| OKLCH | oklch(52.82% 0.216 275.2) |
| XYZ | xyz(20.2407, 13.2965, 74.8836) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.05
Electric Blue
#0652FF
ΔE00 4.36
Iris
#6258C4
ΔE00 5.11
Purpleish Blue
#6140EF
ΔE00 5.12
Dark Periwinkle
#665FD1
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52E4 #E4E14F
analogous
#4F9CE4 #4F52E4 #964FE4
triadic
#4F52E4 #E44F52 #52E44F
tetradic
#4F52E4 #E44F9C #E4E14F #4FE496
square
#4F52E4 #E44F9C #E4E14F #4FE496
split-complementary
#4F52E4 #E4964F #9CE44F
monochromatic
#191BA0 #2124D5 #4F52E4 #8486EC #B9BAF4
Accessibility & contrast
On white
5.74
#4F52E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#4F52E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52E4
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52E4 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f52e4; /* rgb */ color: rgb(79, 82, 228); /* oklch */ color: oklch(52.8% 0.216 275.2);
Tailwind
colors: {
custom: {
50: '#9183ee',
500: '#4f52e4',
950: '#000000',
},
}SCSS
$custom: #4f52e4; $custom-light: #9183ee; $custom-dark: #000000;
JSON
{
"hex": "#4f52e4",
"rgb": {
"r": 79,
"g": 82,
"b": 228
},
"hsl": {
"h": 238.792,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.5282,
"c": 0.2157,
"h": 275.2
},
"luminance": 0.13298
}Semantic roles & 50–950 ramp
primary
#4F52E4
secondary
#E4E3AB
accent
#D210D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84