#4F5CE2#4F5CE2
#4F5CE2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.4% C 0.201 H 273.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CE2 |
|---|---|
| RGB | rgb(79, 92, 226) |
| HSL | hsl(235, 72%, 60%) |
| HSV | hsv(235, 65%, 89%) |
| CMYK | cmyk(65%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(45.37, 36.67, -69.80) |
| CIE-LCH | lch(45.37, 78.85, 297.72°) |
| OKLab | oklab(54.36% 0.012 -0.201) |
| OKLCH | oklch(54.36% 0.201 273.4) |
| XYZ | xyz(20.7745, 14.8057, 73.6998) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.89
Dark Periwinkle
#665FD1
ΔE00 3.99
Azul
#1D5DEC
ΔE00 4.18
Electric Blue
#0652FF
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 5.12
Royal Blue
#4169E1
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CE2 #E2D54F
analogous
#4FA5E2 #4F5CE2 #8C4FE2
triadic
#4F5CE2 #E24F5C #5CE24F
tetradic
#4F5CE2 #E24FA5 #E2D54F #4FE28C
square
#4F5CE2 #E24FA5 #E2D54F #4FE28C
split-complementary
#4F5CE2 #E28C4F #A5E24F
monochromatic
#1A259D #2232D1 #4F5CE2 #848DEB #B8BDF3
Accessibility & contrast
On white
5.30
#4F5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#4F5CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CE2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CE2 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f5ce2; /* rgb */ color: rgb(79, 92, 226); /* oklch */ color: oklch(54.4% 0.201 273.4);
Tailwind
colors: {
custom: {
50: '#908aec',
500: '#4f5ce2',
950: '#000000',
},
}SCSS
$custom: #4f5ce2; $custom-light: #908aec; $custom-dark: #000000;
JSON
{
"hex": "#4f5ce2",
"rgb": {
"r": 79,
"g": 92,
"b": 226
},
"hsl": {
"h": 234.694,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.54358,
"c": 0.20141,
"h": 273.4
},
"luminance": 0.14808
}Semantic roles & 50–950 ramp
primary
#4F5CE2
secondary
#E3DEAA
accent
#DE39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84