#4F46E1#4F46E1
#4F46E1 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.225 H 277.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4F46E1 |
|---|---|
| RGB | rgb(79, 70, 225) |
| HSL | hsl(243, 72%, 58%) |
| HSV | hsv(243, 69%, 88%) |
| CMYK | cmyk(64.9%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(40.37, 49.37, -77.40) |
| CIE-LCH | lch(40.37, 91.80, 302.53°) |
| OKLab | oklab(50.69% 0.0285 -0.2234) |
| OKLCH | oklch(50.69% 0.225 277.3) |
| XYZ | xyz(19.0008, 11.4772, 72.4336) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.20
Purpley Blue
#5F34E7
ΔE00 4.25
Blurple
#5539CC
ΔE00 4.43
Bluey Purple
#6241C7
ΔE00 4.49
Blue With A Hint Of Purple
#533CC6
ΔE00 4.52
Vibrant Blue
#0339F8
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F46E1 #D8E146
analogous
#468AE1 #4F46E1 #9D46E1
triadic
#4F46E1 #E14F46 #46E14F
tetradic
#4F46E1 #E1468A #D8E146 #46E19D
square
#4F46E1 #E1468A #D8E146 #46E19D
split-complementary
#4F46E1 #E19D46 #8AE146
monochromatic
#1F1895 #2A21C9 #4F46E1 #817BEA #B3AFF2
Accessibility & contrast
On white
6.37
#4F46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4F46E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F46E1
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F46E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F46E1 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#0059DE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4f46e1; /* rgb */ color: rgb(79, 70, 225); /* oklch */ color: oklch(50.7% 0.225 277.3);
Tailwind
colors: {
custom: {
50: '#927bec',
500: '#4f46e1',
950: '#000000',
},
}SCSS
$custom: #4f46e1; $custom-light: #927bec; $custom-dark: #000000;
JSON
{
"hex": "#4f46e1",
"rgb": {
"r": 79,
"g": 70,
"b": 225
},
"hsl": {
"h": 243.484,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.5069,
"c": 0.22524,
"h": 277.3
},
"luminance": 0.11479
}Semantic roles & 50–950 ramp
primary
#4F46E1
secondary
#DDE0A2
accent
#EF39E4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84