#4F51E8#4F51E8
#4F51E8 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.222 H 275.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4F51E8 |
|---|---|
| RGB | rgb(79, 81, 232) |
| HSL | hsl(239, 77%, 61%) |
| HSV | hsv(239, 66%, 91%) |
| CMYK | cmyk(65.9%, 65.1%, 0%, 9%) |
| CIE-LAB | lab(43.32, 45.28, -76.54) |
| CIE-LCH | lch(43.32, 88.93, 300.61°) |
| OKLab | oklab(53% 0.0201 -0.2209) |
| OKLCH | oklch(53% 0.222 275.2) |
| XYZ | xyz(20.7276, 13.3715, 77.8169) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.55
Electric Blue
#0652FF
ΔE00 4.21
Purpleish Blue
#6140EF
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 5.49
Iris
#6258C4
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F51E8 #E8E64F
analogous
#4F9DE8 #4F51E8 #994FE8
triadic
#4F51E8 #E84F51 #51E84F
tetradic
#4F51E8 #E84F9D #E8E64F #4FE899
square
#4F51E8 #E84F9D #E8E64F #4FE899
split-complementary
#4F51E8 #E8994F #9DE84F
monochromatic
#1618A7 #1D1FDD #4F51E8 #8587EF #BBBCF6
Accessibility & contrast
On white
5.71
#4F51E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#4F51E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F51E8
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F51E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F51E8 | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f51e8; /* rgb */ color: rgb(79, 81, 232); /* oklch */ color: oklch(53.0% 0.222 275.2);
Tailwind
colors: {
custom: {
50: '#9282f0',
500: '#4f51e8',
950: '#000000',
},
}SCSS
$custom: #4f51e8; $custom-light: #9282f0; $custom-dark: #000000;
JSON
{
"hex": "#4f51e8",
"rgb": {
"r": 79,
"g": 81,
"b": 232
},
"hsl": {
"h": 239.216,
"s": 76.884,
"l": 60.98
},
"oklch": {
"l": 0.53004,
"c": 0.22182,
"h": 275.2
},
"luminance": 0.13373
}Semantic roles & 50–950 ramp
primary
#4F51E8
secondary
#E6E5AD
accent
#D60CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85