#4F52E9#4F52E9
#4F52E9 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.222 H 275.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52E9 |
|---|---|
| RGB | rgb(79, 82, 233) |
| HSL | hsl(239, 78%, 61%) |
| HSV | hsv(239, 66%, 91%) |
| CMYK | cmyk(66.1%, 64.8%, 0%, 8.6%) |
| CIE-LAB | lab(43.62, 45.02, -76.61) |
| CIE-LCH | lch(43.62, 88.86, 300.44°) |
| OKLab | oklab(53.25% 0.0193 -0.2211) |
| OKLCH | oklch(53.25% 0.222 275) |
| XYZ | xyz(20.9449, 13.5782, 78.5921) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.46
Electric Blue
#0652FF
ΔE00 4.10
Purpleish Blue
#6140EF
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.43
Iris
#6258C4
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52E9 #E9E64F
analogous
#4F9FE9 #4F52E9 #994FE9
triadic
#4F52E9 #E94F52 #52E94F
tetradic
#4F52E9 #E94F9F #E9E64F #4FE999
square
#4F52E9 #E94F9F #E9E64F #4FE999
split-complementary
#4F52E9 #E9994F #9FE94F
monochromatic
#1518A9 #1C20DF #4F52E9 #8587F0 #BCBDF7
Accessibility & contrast
On white
5.65
#4F52E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#4F52E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52E9
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52E9 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0060E6
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4f52e9; /* rgb */ color: rgb(79, 82, 233); /* oklch */ color: oklch(53.3% 0.222 275.0);
Tailwind
colors: {
custom: {
50: '#9283f1',
500: '#4f52e9',
950: '#000000',
},
}SCSS
$custom: #4f52e9; $custom-light: #9283f1; $custom-dark: #000000;
JSON
{
"hex": "#4f52e9",
"rgb": {
"r": 79,
"g": 82,
"b": 233
},
"hsl": {
"h": 238.831,
"s": 77.778,
"l": 61.176
},
"oklch": {
"l": 0.53251,
"c": 0.22194,
"h": 275
},
"luminance": 0.1358
}Semantic roles & 50–950 ramp
primary
#4F52E9
secondary
#E7E6AD
accent
#D60BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85