#4F56F5#4F56F5
#4F56F5 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.232 H 273.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56F5 |
|---|---|
| RGB | rgb(79, 86, 245) |
| HSL | hsl(237, 89%, 64%) |
| HSV | hsv(237, 68%, 96%) |
| CMYK | cmyk(67.8%, 64.9%, 0%, 3.9%) |
| CIE-LAB | lab(45.51, 46.58, -80.27) |
| CIE-LCH | lch(45.51, 92.81, 300.13°) |
| OKLab | oklab(54.93% 0.0155 -0.2318) |
| OKLCH | oklch(54.93% 0.232 273.8) |
| XYZ | xyz(23.0282, 14.9083, 88.0325) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.48
Electric Blue
#0652FF
ΔE00 3.88
Azul
#1D5DEC
ΔE00 5.44
Dark Periwinkle
#665FD1
ΔE00 5.56
Purpleish Blue
#6140EF
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56F5 #F5EE4F
analogous
#4FA9F5 #4F56F5 #9B4FF5
triadic
#4F56F5 #F54F56 #56F54F
tetradic
#4F56F5 #F54FA9 #F5EE4F #4FF59B
square
#4F56F5 #F54FA9 #F5EE4F #4FF59B
split-complementary
#4F56F5 #F59B4F #A9F54F
monochromatic
#0B12BF #151EF2 #4F56F5 #898EF8 #C3C5FC
Accessibility & contrast
On white
5.27
#4F56F5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#4F56F5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56F5
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56F5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56F5 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#0064F2
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4f56f5; /* rgb */ color: rgb(79, 86, 245); /* oklch */ color: oklch(54.9% 0.232 273.8);
Tailwind
colors: {
custom: {
50: '#9486fa',
500: '#4f56f5',
950: '#000000',
},
}SCSS
$custom: #4f56f5; $custom-light: #9486fa; $custom-dark: #000000;
JSON
{
"hex": "#4f56f5",
"rgb": {
"r": 79,
"g": 86,
"b": 245
},
"hsl": {
"h": 237.47,
"s": 89.247,
"l": 63.529
},
"oklch": {
"l": 0.54933,
"c": 0.23232,
"h": 273.8
},
"luminance": 0.1491
}Semantic roles & 50–950 ramp
primary
#4F56F5
secondary
#EDEBB2
accent
#DC00E6
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85