#4F54E1#4F54E1
#4F54E1 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.210 H 275.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54E1 |
|---|---|
| RGB | rgb(79, 84, 225) |
| HSL | hsl(238, 71%, 60%) |
| HSV | hsv(238, 65%, 88%) |
| CMYK | cmyk(64.9%, 62.7%, 0%, 11.8%) |
| CIE-LAB | lab(43.41, 41.20, -72.41) |
| CIE-LCH | lch(43.41, 83.31, 299.64°) |
| OKLab | oklab(52.9% 0.0184 -0.2088) |
| OKLCH | oklch(52.9% 0.21 275) |
| XYZ | xyz(19.9809, 13.4374, 72.7603) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.42
Electric Blue
#0652FF
ΔE00 4.47
Dark Periwinkle
#665FD1
ΔE00 4.73
Iris
#6258C4
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54E1 #E1DC4F
analogous
#4F9DE1 #4F54E1 #934FE1
triadic
#4F54E1 #E14F54 #54E14F
tetradic
#4F54E1 #E14F9D #E1DC4F #4FE193
square
#4F54E1 #E14F9D #E1DC4F #4FE193
split-complementary
#4F54E1 #E1934F #9DE14F
monochromatic
#1A1F9B #2329CF #4F54E1 #8387EA #B8BAF3
Accessibility & contrast
On white
5.69
#4F54E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#4F54E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54E1
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54E1 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4f54e1; /* rgb */ color: rgb(79, 84, 225); /* oklch */ color: oklch(52.9% 0.210 275.0);
Tailwind
colors: {
custom: {
50: '#9084eb',
500: '#4f54e1',
950: '#000000',
},
}SCSS
$custom: #4f54e1; $custom-light: #9084eb; $custom-dark: #000000;
JSON
{
"hex": "#4f54e1",
"rgb": {
"r": 79,
"g": 84,
"b": 225
},
"hsl": {
"h": 237.945,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.52897,
"c": 0.2096,
"h": 275
},
"luminance": 0.13439
}Semantic roles & 50–950 ramp
primary
#4F54E1
secondary
#E2E0AA
accent
#E73AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84