#4E46BC#4E46BC
#4E46BC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.179 H 280.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4E46BC |
|---|---|
| RGB | rgb(78, 70, 188) |
| HSL | hsl(244, 47%, 51%) |
| HSV | hsv(244, 63%, 74%) |
| CMYK | cmyk(58.5%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(37.17, 37.41, -61.24) |
| CIE-LCH | lch(37.17, 71.77, 301.42°) |
| OKLab | oklab(47.39% 0.0315 -0.1761) |
| OKLCH | oklch(47.39% 0.179 280.1) |
| XYZ | xyz(14.4063, 9.6299, 48.6668) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.54
Blue With A Hint Of Purple
#533CC6
ΔE00 3.16
Bluey Purple
#6241C7
ΔE00 3.91
Blurple
#5539CC
ΔE00 4.14
Blue Blue
#2242C7
ΔE00 4.68
Iris
#6258C4
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E46BC #B4BC46
analogous
#4679BC #4E46BC #8946BC
triadic
#4E46BC #BC4E46 #46BC4E
tetradic
#4E46BC #BC4679 #B4BC46 #46BC89
square
#4E46BC #BC4679 #B4BC46 #46BC89
split-complementary
#4E46BC #BC8946 #79BC46
monochromatic
#282464 #3B3490 #4E46BC #7973CC #A4A0DD
Accessibility & contrast
On white
7.18
#4E46BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#4E46BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E46BC
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E46BC | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#03637A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4e46bc; /* rgb */ color: rgb(78, 70, 188); /* oklch */ color: oklch(47.4% 0.179 280.1);
Tailwind
colors: {
custom: {
50: '#8a7ad1',
500: '#4e46bc',
950: '#000000',
},
}SCSS
$custom: #4e46bc; $custom-light: #8a7ad1; $custom-dark: #000000;
JSON
{
"hex": "#4e46bc",
"rgb": {
"r": 78,
"g": 70,
"b": 188
},
"hsl": {
"h": 244.068,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.47388,
"c": 0.17889,
"h": 280.1
},
"luminance": 0.09631
}Semantic roles & 50–950 ramp
primary
#4E46BC
secondary
#C6C995
accent
#D651CD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83