#4F54E8#4F54E8
#4F54E8 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.218 H 274.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54E8 |
|---|---|
| RGB | rgb(79, 84, 232) |
| HSL | hsl(238, 77%, 61%) |
| HSV | hsv(238, 66%, 91%) |
| CMYK | cmyk(65.9%, 63.8%, 0%, 9%) |
| CIE-LAB | lab(43.98, 43.51, -75.45) |
| CIE-LCH | lch(43.98, 87.10, 299.97°) |
| OKLab | oklab(53.49% 0.0179 -0.2177) |
| OKLCH | oklch(53.49% 0.218 274.7) |
| XYZ | xyz(20.9554, 13.8272, 77.8929) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.07
Electric Blue
#0652FF
ΔE00 4.07
Dark Periwinkle
#665FD1
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.25
Iris
#6258C4
ΔE00 5.40
Azul
#1D5DEC
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54E8 #E8E34F
analogous
#4FA0E8 #4F54E8 #964FE8
triadic
#4F54E8 #E84F54 #54E84F
tetradic
#4F54E8 #E84FA0 #E8E34F #4FE896
square
#4F54E8 #E84FA0 #E8E34F #4FE896
split-complementary
#4F54E8 #E8964F #A0E84F
monochromatic
#161BA7 #1D23DD #4F54E8 #8589EF #BBBDF6
Accessibility & contrast
On white
5.58
#4F54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#4F54E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54E8
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54E8 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4f54e8; /* rgb */ color: rgb(79, 84, 232); /* oklch */ color: oklch(53.5% 0.218 274.7);
Tailwind
colors: {
custom: {
50: '#9284f0',
500: '#4f54e8',
950: '#000000',
},
}SCSS
$custom: #4f54e8; $custom-light: #9284f0; $custom-dark: #000000;
JSON
{
"hex": "#4f54e8",
"rgb": {
"r": 79,
"g": 84,
"b": 232
},
"hsl": {
"h": 238.039,
"s": 76.884,
"l": 60.98
},
"oklch": {
"l": 0.53489,
"c": 0.21844,
"h": 274.7
},
"luminance": 0.13829
}Semantic roles & 50–950 ramp
primary
#4F54E8
secondary
#E6E4AD
accent
#D20CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85