#4F51E3#4F51E3
#4F51E3 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.216 H 275.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4F51E3 |
|---|---|
| RGB | rgb(79, 81, 227) |
| HSL | hsl(239, 73%, 60%) |
| HSV | hsv(239, 65%, 89%) |
| CMYK | cmyk(65.2%, 64.3%, 0%, 11%) |
| CIE-LAB | lab(42.90, 43.65, -74.39) |
| CIE-LCH | lch(42.90, 86.25, 300.40°) |
| OKLab | oklab(52.57% 0.0205 -0.2146) |
| OKLCH | oklch(52.57% 0.216 275.5) |
| XYZ | xyz(20.0275, 13.0914, 74.1296) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.21
Electric Blue
#0652FF
ΔE00 4.49
Purpleish Blue
#6140EF
ΔE00 4.92
Iris
#6258C4
ΔE00 5.09
Slate Blue
#6A5ACD
ΔE00 5.21
Dark Periwinkle
#665FD1
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F51E3 #E3E14F
analogous
#4F9BE3 #4F51E3 #974FE3
triadic
#4F51E3 #E34F51 #51E34F
tetradic
#4F51E3 #E34F9B #E3E14F #4FE397
square
#4F51E3 #E34F9B #E3E14F #4FE397
split-complementary
#4F51E3 #E3974F #9BE34F
monochromatic
#191B9E #2224D3 #4F51E3 #8485EB #B9B9F4
Accessibility & contrast
On white
5.80
#4F51E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4F51E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F51E3
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F51E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F51E3 | 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)
#006CE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f51e3; /* rgb */ color: rgb(79, 81, 227); /* oklch */ color: oklch(52.6% 0.216 275.5);
Tailwind
colors: {
custom: {
50: '#9182ed',
500: '#4f51e3',
950: '#000000',
},
}SCSS
$custom: #4f51e3; $custom-light: #9182ed; $custom-dark: #000000;
JSON
{
"hex": "#4f51e3",
"rgb": {
"r": 79,
"g": 81,
"b": 227
},
"hsl": {
"h": 239.189,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.52572,
"c": 0.21559,
"h": 275.5
},
"luminance": 0.13093
}Semantic roles & 50–950 ramp
primary
#4F51E3
secondary
#E3E3AA
accent
#ED39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84