#4F56E8#4F56E8
#4F56E8 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.8% C 0.216 H 274.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56E8 |
|---|---|
| RGB | rgb(79, 86, 232) |
| HSL | hsl(237, 77%, 61%) |
| HSV | hsv(237, 66%, 91%) |
| CMYK | cmyk(65.9%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(44.44, 42.31, -74.71) |
| CIE-LCH | lch(44.44, 85.86, 299.52°) |
| OKLab | oklab(53.82% 0.0164 -0.2155) |
| OKLCH | oklch(53.82% 0.216 274.4) |
| XYZ | xyz(21.1129, 14.1421, 77.9454) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.90
Electric Blue
#0652FF
ΔE00 4.07
Dark Periwinkle
#665FD1
ΔE00 4.73
Azul
#1D5DEC
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.19
Iris
#6258C4
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56E8 #E8E14F
analogous
#4FA2E8 #4F56E8 #944FE8
triadic
#4F56E8 #E84F56 #56E84F
tetradic
#4F56E8 #E84FA2 #E8E14F #4FE894
square
#4F56E8 #E84FA2 #E8E14F #4FE894
split-complementary
#4F56E8 #E8944F #A2E84F
monochromatic
#161CA7 #1D26DD #4F56E8 #858AEF #BBBEF6
Accessibility & contrast
On white
5.48
#4F56E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#4F56E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56E8
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56E8 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4f56e8; /* rgb */ color: rgb(79, 86, 232); /* oklch */ color: oklch(53.8% 0.216 274.4);
Tailwind
colors: {
custom: {
50: '#9286f0',
500: '#4f56e8',
950: '#000000',
},
}SCSS
$custom: #4f56e8; $custom-light: #9286f0; $custom-dark: #000000;
JSON
{
"hex": "#4f56e8",
"rgb": {
"r": 79,
"g": 86,
"b": 232
},
"hsl": {
"h": 237.255,
"s": 76.884,
"l": 60.98
},
"oklch": {
"l": 0.5382,
"c": 0.21615,
"h": 274.4
},
"luminance": 0.14144
}Semantic roles & 50–950 ramp
primary
#4F56E8
secondary
#E6E4AD
accent
#D00CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85