#4F52E6#4F52E6
#4F52E6 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.218 H 275.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52E6 |
|---|---|
| RGB | rgb(79, 82, 230) |
| HSL | hsl(239, 75%, 61%) |
| HSV | hsv(239, 66%, 90%) |
| CMYK | cmyk(65.7%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(43.37, 44.04, -75.32) |
| CIE-LCH | lch(43.37, 87.25, 300.31°) |
| OKLab | oklab(52.99% 0.0195 -0.2173) |
| OKLCH | oklch(52.99% 0.218 275.1) |
| XYZ | xyz(20.5200, 13.4082, 76.3542) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Electric Blue
#0652FF
ΔE00 4.25
Purpleish Blue
#6140EF
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.24
Slate Blue
#6A5ACD
ΔE00 5.27
Iris
#6258C4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52E6 #E6E34F
analogous
#4F9DE6 #4F52E6 #974FE6
triadic
#4F52E6 #E64F52 #52E64F
tetradic
#4F52E6 #E64F9D #E6E34F #4FE697
square
#4F52E6 #E64F9D #E6E34F #4FE697
split-complementary
#4F52E6 #E6974F #9DE64F
monochromatic
#171AA3 #1F23D9 #4F52E6 #8587EE #BABBF5
Accessibility & contrast
On white
5.70
#4F52E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#4F52E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52E6
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52E6 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f52e6; /* rgb */ color: rgb(79, 82, 230); /* oklch */ color: oklch(53.0% 0.218 275.1);
Tailwind
colors: {
custom: {
50: '#9283ef',
500: '#4f52e6',
950: '#000000',
},
}SCSS
$custom: #4f52e6; $custom-light: #9283ef; $custom-dark: #000000;
JSON
{
"hex": "#4f52e6",
"rgb": {
"r": 79,
"g": 82,
"b": 230
},
"hsl": {
"h": 238.808,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.52992,
"c": 0.2182,
"h": 275.1
},
"luminance": 0.1341
}Semantic roles & 50–950 ramp
primary
#4F52E6
secondary
#E5E4AC
accent
#D30ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85