#4F46BA#4F46BA
#4F46BA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.176 H 280.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4F46BA |
|---|---|
| RGB | rgb(79, 70, 186) |
| HSL | hsl(245, 46%, 50%) |
| HSV | hsv(245, 62%, 73%) |
| CMYK | cmyk(57.5%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(37.09, 36.94, -60.20) |
| CIE-LCH | lch(37.09, 70.62, 301.53°) |
| OKLab | oklab(47.3% 0.0329 -0.173) |
| OKLCH | oklch(47.3% 0.176 280.8) |
| XYZ | xyz(14.2748, 9.5868, 47.5431) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.34
Blue With A Hint Of Purple
#533CC6
ΔE00 3.25
Bluey Purple
#6241C7
ΔE00 3.92
Blurple
#5539CC
ΔE00 4.25
Blue Blue
#2242C7
ΔE00 4.91
Blueberry
#464196
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F46BA #B1BA46
analogous
#4677BA #4F46BA #8946BA
triadic
#4F46BA #BA4F46 #46BA4F
tetradic
#4F46BA #BA4677 #B1BA46 #46BA89
square
#4F46BA #BA4677 #B1BA46 #46BA89
split-complementary
#4F46BA #BA8946 #77BA46
monochromatic
#292461 #3C358E #4F46BA #7973CB #A49FDB
Accessibility & contrast
On white
7.20
#4F46BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#4F46BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F46BA
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F46BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F46BA | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#116279
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4f46ba; /* rgb */ color: rgb(79, 70, 186); /* oklch */ color: oklch(47.3% 0.176 280.8);
Tailwind
colors: {
custom: {
50: '#8b7ad0',
500: '#4f46ba',
950: '#000000',
},
}SCSS
$custom: #4f46ba; $custom-light: #8b7ad0; $custom-dark: #000000;
JSON
{
"hex": "#4f46ba",
"rgb": {
"r": 79,
"g": 70,
"b": 186
},
"hsl": {
"h": 244.655,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.473,
"c": 0.17609,
"h": 280.8
},
"luminance": 0.09588
}Semantic roles & 50–950 ramp
primary
#4F46BA
secondary
#C4C894
accent
#D552CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82