#4F5CE1#4F5CE1
#4F5CE1 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.3% C 0.200 H 273.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CE1 |
|---|---|
| RGB | rgb(79, 92, 225) |
| HSL | hsl(235, 71%, 60%) |
| HSV | hsv(235, 65%, 88%) |
| CMYK | cmyk(64.9%, 59.1%, 0%, 11.8%) |
| CIE-LAB | lab(45.29, 36.34, -69.35) |
| CIE-LCH | lch(45.29, 78.30, 297.65°) |
| OKLab | oklab(54.28% 0.012 -0.1997) |
| OKLCH | oklch(54.28% 0.2 273.4) |
| XYZ | xyz(20.6377, 14.7510, 72.9792) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.82
Dark Periwinkle
#665FD1
ΔE00 3.95
Azul
#1D5DEC
ΔE00 4.18
Electric Blue
#0652FF
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.08
Royal Blue
#4169E1
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CE1 #E1D44F
analogous
#4FA5E1 #4F5CE1 #8B4FE1
triadic
#4F5CE1 #E14F5C #5CE14F
tetradic
#4F5CE1 #E14FA5 #E1D44F #4FE18B
square
#4F5CE1 #E14FA5 #E1D44F #4FE18B
split-complementary
#4F5CE1 #E18B4F #A5E14F
monochromatic
#1A269B #2333CF #4F5CE1 #838CEA #B8BDF3
Accessibility & contrast
On white
5.32
#4F5CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#4F5CE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CE1
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CE1 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f5ce1; /* rgb */ color: rgb(79, 92, 225); /* oklch */ color: oklch(54.3% 0.200 273.4);
Tailwind
colors: {
custom: {
50: '#908aeb',
500: '#4f5ce1',
950: '#000000',
},
}SCSS
$custom: #4f5ce1; $custom-light: #908aeb; $custom-dark: #000000;
JSON
{
"hex": "#4f5ce1",
"rgb": {
"r": 79,
"g": 92,
"b": 225
},
"hsl": {
"h": 234.658,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.54279,
"c": 0.20011,
"h": 273.4
},
"luminance": 0.14753
}Semantic roles & 50–950 ramp
primary
#4F5CE1
secondary
#E2DDAA
accent
#DE3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84