#4F56E6#4F56E6
#4F56E6 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.214 H 274.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56E6 |
|---|---|
| RGB | rgb(79, 86, 230) |
| HSL | hsl(237, 75%, 61%) |
| HSV | hsv(237, 66%, 90%) |
| CMYK | cmyk(65.7%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(44.27, 41.65, -73.84) |
| CIE-LCH | lch(44.27, 84.78, 299.42°) |
| OKLab | oklab(53.65% 0.0166 -0.213) |
| OKLCH | oklch(53.65% 0.214 274.4) |
| XYZ | xyz(20.8304, 14.0292, 76.4577) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.67
Electric Blue
#0652FF
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 4.63
Azul
#1D5DEC
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.08
Iris
#6258C4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56E6 #E6DF4F
analogous
#4FA1E6 #4F56E6 #944FE6
triadic
#4F56E6 #E64F56 #56E64F
tetradic
#4F56E6 #E64FA1 #E6DF4F #4FE694
square
#4F56E6 #E64FA1 #E6DF4F #4FE694
split-complementary
#4F56E6 #E6944F #A1E64F
monochromatic
#171EA3 #1F27D9 #4F56E6 #8589EE #BABDF5
Accessibility & contrast
On white
5.52
#4F56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#4F56E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56E6
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56E6 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4f56e6; /* rgb */ color: rgb(79, 86, 230); /* oklch */ color: oklch(53.7% 0.214 274.4);
Tailwind
colors: {
custom: {
50: '#9186ef',
500: '#4f56e6',
950: '#000000',
},
}SCSS
$custom: #4f56e6; $custom-light: #9186ef; $custom-dark: #000000;
JSON
{
"hex": "#4f56e6",
"rgb": {
"r": 79,
"g": 86,
"b": 230
},
"hsl": {
"h": 237.219,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.53651,
"c": 0.21362,
"h": 274.4
},
"luminance": 0.14031
}Semantic roles & 50–950 ramp
primary
#4F56E6
secondary
#E5E2AC
accent
#CE0ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85