#4F54E7#4F54E7
#4F54E7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.4% C 0.217 H 274.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54E7 |
|---|---|
| RGB | rgb(79, 84, 231) |
| HSL | hsl(238, 76%, 61%) |
| HSV | hsv(238, 66%, 91%) |
| CMYK | cmyk(65.8%, 63.6%, 0%, 9.4%) |
| CIE-LAB | lab(43.90, 43.18, -75.02) |
| CIE-LCH | lch(43.90, 86.56, 299.92°) |
| OKLab | oklab(53.4% 0.018 -0.2164) |
| OKLCH | oklch(53.4% 0.217 274.7) |
| XYZ | xyz(20.8138, 13.7706, 77.1469) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.97
Electric Blue
#0652FF
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.20
Iris
#6258C4
ΔE00 5.30
Azul
#1D5DEC
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54E7 #E7E24F
analogous
#4FA0E7 #4F54E7 #964FE7
triadic
#4F54E7 #E74F54 #54E74F
tetradic
#4F54E7 #E74FA0 #E7E24F #4FE796
square
#4F54E7 #E74FA0 #E7E24F #4FE796
split-complementary
#4F54E7 #E7964F #A0E74F
monochromatic
#171BA5 #1E24DB #4F54E7 #8588EE #BBBDF6
Accessibility & contrast
On white
5.59
#4F54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4F54E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54E7
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54E7 | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4f54e7; /* rgb */ color: rgb(79, 84, 231); /* oklch */ color: oklch(53.4% 0.217 274.7);
Tailwind
colors: {
custom: {
50: '#9284f0',
500: '#4f54e7',
950: '#000000',
},
}SCSS
$custom: #4f54e7; $custom-light: #9284f0; $custom-dark: #000000;
JSON
{
"hex": "#4f54e7",
"rgb": {
"r": 79,
"g": 84,
"b": 231
},
"hsl": {
"h": 238.026,
"s": 76,
"l": 60.784
},
"oklch": {
"l": 0.53404,
"c": 0.21719,
"h": 274.7
},
"luminance": 0.13772
}Semantic roles & 50–950 ramp
primary
#4F54E7
secondary
#E6E4AC
accent
#D20DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85