#4F52E3#4F52E3
#4F52E3 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.214 H 275.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52E3 |
|---|---|
| RGB | rgb(79, 82, 227) |
| HSL | hsl(239, 73%, 60%) |
| HSV | hsv(239, 65%, 89%) |
| CMYK | cmyk(65.2%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(43.12, 43.06, -74.03) |
| CIE-LCH | lch(43.12, 85.64, 300.18°) |
| OKLab | oklab(52.74% 0.0198 -0.2135) |
| OKLCH | oklch(52.74% 0.214 275.3) |
| XYZ | xyz(20.1023, 13.2411, 74.1546) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.99
Electric Blue
#0652FF
ΔE00 4.42
Iris
#6258C4
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.13
Dark Periwinkle
#665FD1
ΔE00 5.14
Purpleish Blue
#6140EF
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52E3 #E3E04F
analogous
#4F9CE3 #4F52E3 #964FE3
triadic
#4F52E3 #E34F52 #52E34F
tetradic
#4F52E3 #E34F9C #E3E04F #4FE396
square
#4F52E3 #E34F9C #E3E04F #4FE396
split-complementary
#4F52E3 #E3964F #9CE34F
monochromatic
#191C9E #2225D3 #4F52E3 #8486EB #B9BAF4
Accessibility & contrast
On white
5.76
#4F52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#4F52E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52E3
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52E3 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f52e3; /* rgb */ color: rgb(79, 82, 227); /* oklch */ color: oklch(52.7% 0.214 275.3);
Tailwind
colors: {
custom: {
50: '#9183ed',
500: '#4f52e3',
950: '#000000',
},
}SCSS
$custom: #4f52e3; $custom-light: #9183ed; $custom-dark: #000000;
JSON
{
"hex": "#4f52e3",
"rgb": {
"r": 79,
"g": 82,
"b": 227
},
"hsl": {
"h": 238.784,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.52735,
"c": 0.21444,
"h": 275.3
},
"luminance": 0.13243
}Semantic roles & 50–950 ramp
primary
#4F52E3
secondary
#E3E2AA
accent
#EC39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84