#4F48E0#4F48E0
#4F48E0 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.222 H 277.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4F48E0 |
|---|---|
| RGB | rgb(79, 72, 224) |
| HSL | hsl(243, 71%, 58%) |
| HSV | hsv(243, 68%, 88%) |
| CMYK | cmyk(64.7%, 67.9%, 0%, 12.2%) |
| CIE-LAB | lab(40.70, 47.92, -76.29) |
| CIE-LCH | lch(40.70, 90.10, 302.13°) |
| OKLab | oklab(50.9% 0.0273 -0.2202) |
| OKLCH | oklch(50.9% 0.222 277.1) |
| XYZ | xyz(18.9920, 11.6772, 71.7596) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.48
Warm Blue
#4B57DB
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.66
Purpley Blue
#5F34E7
ΔE00 4.72
Blurple
#5539CC
ΔE00 4.78
Blue With A Hint Of Purple
#533CC6
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F48E0 #D9E048
analogous
#488DE0 #4F48E0 #9B48E0
triadic
#4F48E0 #E04F48 #48E04F
tetradic
#4F48E0 #E0488D #D9E048 #48E09B
square
#4F48E0 #E0488D #D9E048 #48E09B
split-complementary
#4F48E0 #E09B48 #8DE048
monochromatic
#1F1994 #2A22C9 #4F48E0 #817CE9 #B4B1F2
Accessibility & contrast
On white
6.30
#4F48E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4F48E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F48E0
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F48E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F48E0 | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#0059DD
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4f48e0; /* rgb */ color: rgb(79, 72, 224); /* oklch */ color: oklch(50.9% 0.222 277.1);
Tailwind
colors: {
custom: {
50: '#917ceb',
500: '#4f48e0',
950: '#000000',
},
}SCSS
$custom: #4f48e0; $custom-light: #917ceb; $custom-dark: #000000;
JSON
{
"hex": "#4f48e0",
"rgb": {
"r": 79,
"g": 72,
"b": 224
},
"hsl": {
"h": 242.763,
"s": 71.028,
"l": 58.039
},
"oklch": {
"l": 0.50897,
"c": 0.22188,
"h": 277.1
},
"luminance": 0.11679
}Semantic roles & 50–950 ramp
primary
#4F48E0
secondary
#DDE0A4
accent
#EE3AE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84