#4F51E6#4F51E6
#4F51E6 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.219 H 275.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4F51E6 |
|---|---|
| RGB | rgb(79, 81, 230) |
| HSL | hsl(239, 75%, 61%) |
| HSV | hsv(239, 66%, 90%) |
| CMYK | cmyk(65.7%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(43.15, 44.63, -75.68) |
| CIE-LCH | lch(43.15, 87.86, 300.53°) |
| OKLab | oklab(52.83% 0.0203 -0.2184) |
| OKLCH | oklch(52.83% 0.219 275.3) |
| XYZ | xyz(20.4451, 13.2585, 76.3293) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.40
Electric Blue
#0652FF
ΔE00 4.31
Purpleish Blue
#6140EF
ΔE00 4.81
Iris
#6258C4
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F51E6 #E6E44F
analogous
#4F9DE6 #4F51E6 #984FE6
triadic
#4F51E6 #E64F51 #51E64F
tetradic
#4F51E6 #E64F9D #E6E44F #4FE698
square
#4F51E6 #E64F9D #E6E44F #4FE698
split-complementary
#4F51E6 #E6984F #9DE64F
monochromatic
#1719A3 #1F21D9 #4F51E6 #8586EE #BABBF5
Accessibility & contrast
On white
5.75
#4F51E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#4F51E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F51E6
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F51E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F51E6 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f51e6; /* rgb */ color: rgb(79, 81, 230); /* oklch */ color: oklch(52.8% 0.219 275.3);
Tailwind
colors: {
custom: {
50: '#9282ef',
500: '#4f51e6',
950: '#000000',
},
}SCSS
$custom: #4f51e6; $custom-light: #9282ef; $custom-dark: #000000;
JSON
{
"hex": "#4f51e6",
"rgb": {
"r": 79,
"g": 81,
"b": 230
},
"hsl": {
"h": 239.205,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.5283,
"c": 0.21934,
"h": 275.3
},
"luminance": 0.1326
}Semantic roles & 50–950 ramp
primary
#4F51E6
secondary
#E5E4AC
accent
#D50ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85