#4F46F6#4F46F6
#4F46F6 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.6% C 0.250 H 275.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4F46F6 |
|---|---|
| RGB | rgb(79, 70, 246) |
| HSL | hsl(243, 91%, 62%) |
| HSV | hsv(243, 72%, 96%) |
| CMYK | cmyk(67.9%, 71.5%, 0%, 3.5%) |
| CIE-LAB | lab(42.30, 55.91, -86.10) |
| CIE-LCH | lch(42.30, 102.66, 303.00°) |
| OKLab | oklab(52.65% 0.0251 -0.2489) |
| OKLCH | oklch(52.65% 0.25 275.8) |
| XYZ | xyz(22.0437, 12.6944, 88.4595) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.49
Purpley Blue
#5F34E7
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 4.86
Light Royal Blue
#3A2EFE
ΔE00 4.88
Vibrant Blue
#0339F8
ΔE00 4.92
Electric Blue
#0652FF
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F46F6 #EDF646
analogous
#4695F6 #4F46F6 #A746F6
triadic
#4F46F6 #F64F46 #46F64F
tetradic
#4F46F6 #F64695 #EDF646 #46F6A7
square
#4F46F6 #F64695 #EDF646 #46F6A7
split-complementary
#4F46F6 #F6A746 #95F646
monochromatic
#1209B9 #180CF3 #4F46F6 #8780F9 #BEBBFC
Accessibility & contrast
On white
5.93
#4F46F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#4F46F6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F46F6
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F46F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F46F6 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CFB
Deuteranopia (green-blind)
#005CF3
Tritanopia (blue-blind)
#00789A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f46f6; /* rgb */ color: rgb(79, 70, 246); /* oklch */ color: oklch(52.6% 0.250 275.8);
Tailwind
colors: {
custom: {
50: '#967cfb',
500: '#4f46f6',
950: '#000000',
},
}SCSS
$custom: #4f46f6; $custom-light: #967cfb; $custom-dark: #000000;
JSON
{
"hex": "#4f46f6",
"rgb": {
"r": 79,
"g": 70,
"b": 246
},
"hsl": {
"h": 243.068,
"s": 90.722,
"l": 61.961
},
"oklch": {
"l": 0.52649,
"c": 0.25012,
"h": 275.8
},
"luminance": 0.12696
}Semantic roles & 50–950 ramp
primary
#4F46F6
secondary
#E9ECAB
accent
#E600DA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86