#4F50E6#4F50E6
#4F50E6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.220 H 275.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4F50E6 |
|---|---|
| RGB | rgb(79, 80, 230) |
| HSL | hsl(240, 75%, 61%) |
| HSV | hsv(240, 66%, 90%) |
| CMYK | cmyk(65.7%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(42.93, 45.22, -76.04) |
| CIE-LCH | lch(42.93, 88.47, 300.74°) |
| OKLab | oklab(52.67% 0.021 -0.2195) |
| OKLCH | oklch(52.67% 0.22 275.5) |
| XYZ | xyz(20.3713, 13.1110, 76.3047) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.62
Electric Blue
#0652FF
ΔE00 4.39
Purpleish Blue
#6140EF
ΔE00 4.57
Iris
#6258C4
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F50E6 #E6E54F
analogous
#4F9BE6 #4F50E6 #9A4FE6
triadic
#4F50E6 #E64F50 #50E64F
tetradic
#4F50E6 #E64F9B #E6E54F #4FE69A
square
#4F50E6 #E64F9B #E6E54F #4FE69A
split-complementary
#4F50E6 #E69A4F #9BE64F
monochromatic
#1718A3 #1F20D9 #4F50E6 #8585EE #BABBF5
Accessibility & contrast
On white
5.80
#4F50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4F50E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F50E6
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F50E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F50E6 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f50e6; /* rgb */ color: rgb(79, 80, 230); /* oklch */ color: oklch(52.7% 0.220 275.5);
Tailwind
colors: {
custom: {
50: '#9282ef',
500: '#4f50e6',
950: '#000000',
},
}SCSS
$custom: #4f50e6; $custom-light: #9282ef; $custom-dark: #000000;
JSON
{
"hex": "#4f50e6",
"rgb": {
"r": 79,
"g": 80,
"b": 230
},
"hsl": {
"h": 239.603,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.5267,
"c": 0.22046,
"h": 275.5
},
"luminance": 0.13113
}Semantic roles & 50–950 ramp
primary
#4F50E6
secondary
#E5E5AC
accent
#D60ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85