#4F56E1#4F56E1
#4F56E1 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.2% C 0.207 H 274.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4F56E1 |
|---|---|
| RGB | rgb(79, 86, 225) |
| HSL | hsl(237, 71%, 60%) |
| HSV | hsv(237, 65%, 88%) |
| CMYK | cmyk(64.9%, 61.8%, 0%, 11.8%) |
| CIE-LAB | lab(43.88, 40.00, -71.66) |
| CIE-LCH | lch(43.88, 82.07, 299.17°) |
| OKLab | oklab(53.24% 0.0168 -0.2066) |
| OKLCH | oklch(53.24% 0.207 274.7) |
| XYZ | xyz(20.1384, 13.7523, 72.8128) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.11
Dark Periwinkle
#665FD1
ΔE00 4.42
Electric Blue
#0652FF
ΔE00 4.46
Iris
#6258C4
ΔE00 4.73
Slate Blue
#6A5ACD
ΔE00 4.83
Azul
#1D5DEC
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F56E1 #E1DA4F
analogous
#4F9FE1 #4F56E1 #914FE1
triadic
#4F56E1 #E14F56 #56E14F
tetradic
#4F56E1 #E14F9F #E1DA4F #4FE191
square
#4F56E1 #E14F9F #E1DA4F #4FE191
split-complementary
#4F56E1 #E1914F #9FE14F
monochromatic
#1A219B #232CCF #4F56E1 #8388EA #B8BAF3
Accessibility & contrast
On white
5.60
#4F56E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4F56E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F56E1
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F56E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F56E1 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4f56e1; /* rgb */ color: rgb(79, 86, 225); /* oklch */ color: oklch(53.2% 0.207 274.7);
Tailwind
colors: {
custom: {
50: '#9086eb',
500: '#4f56e1',
950: '#000000',
},
}SCSS
$custom: #4f56e1; $custom-light: #9086eb; $custom-dark: #000000;
JSON
{
"hex": "#4f56e1",
"rgb": {
"r": 79,
"g": 86,
"b": 225
},
"hsl": {
"h": 237.123,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.53235,
"c": 0.20726,
"h": 274.7
},
"luminance": 0.13754
}Semantic roles & 50–950 ramp
primary
#4F56E1
secondary
#E2E0AA
accent
#E53AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84