#4F46BC#4F46BC
#4F46BC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.179 H 280.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4F46BC |
|---|---|
| RGB | rgb(79, 70, 188) |
| HSL | hsl(245, 47%, 51%) |
| HSV | hsv(245, 63%, 74%) |
| CMYK | cmyk(58%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(37.25, 37.58, -61.11) |
| CIE-LCH | lch(37.25, 71.74, 301.59°) |
| OKLab | oklab(47.47% 0.0327 -0.1757) |
| OKLCH | oklch(47.47% 0.179 280.6) |
| XYZ | xyz(14.4889, 9.6724, 48.6707) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.50
Blue With A Hint Of Purple
#533CC6
ΔE00 3.10
Bluey Purple
#6241C7
ΔE00 3.78
Blurple
#5539CC
ΔE00 4.08
Blue Blue
#2242C7
ΔE00 4.82
Iris
#6258C4
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F46BC #B3BC46
analogous
#4678BC #4F46BC #8A46BC
triadic
#4F46BC #BC4F46 #46BC4F
tetradic
#4F46BC #BC4678 #B3BC46 #46BC8A
square
#4F46BC #BC4678 #B3BC46 #46BC8A
split-complementary
#4F46BC #BC8A46 #78BC46
monochromatic
#292464 #3B3490 #4F46BC #7A73CC #A4A0DD
Accessibility & contrast
On white
7.16
#4F46BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#4F46BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F46BC
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F46BC | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#0C637A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4f46bc; /* rgb */ color: rgb(79, 70, 188); /* oklch */ color: oklch(47.5% 0.179 280.6);
Tailwind
colors: {
custom: {
50: '#8b7ad1',
500: '#4f46bc',
950: '#000000',
},
}SCSS
$custom: #4f46bc; $custom-light: #8b7ad1; $custom-dark: #000000;
JSON
{
"hex": "#4f46bc",
"rgb": {
"r": 79,
"g": 70,
"b": 188
},
"hsl": {
"h": 244.576,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.47465,
"c": 0.1787,
"h": 280.6
},
"luminance": 0.09673
}Semantic roles & 50–950 ramp
primary
#4F46BC
secondary
#C5C995
accent
#D651CC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83