#4E4BA6#4E4BA6
#4E4BA6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.142 H 280.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4BA6 |
|---|---|
| RGB | rgb(78, 75, 166) |
| HSL | hsl(242, 38%, 47%) |
| HSV | hsv(242, 55%, 65%) |
| CMYK | cmyk(53%, 54.8%, 0%, 34.9%) |
| CIE-LAB | lab(36.75, 27.16, -48.90) |
| CIE-LCH | lch(36.75, 55.93, 299.05°) |
| OKLab | oklab(46.57% 0.0267 -0.1398) |
| OKLCH | oklch(46.57% 0.142 280.8) |
| XYZ | xyz(12.5388, 9.4043, 37.2235) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.70
Ocean Blue
#4F42B5
ΔE00 3.82
Darkslateblue
#483D8B
ΔE00 5.70
Twilight
#4E518B
ΔE00 5.79
Iris
#6258C4
ΔE00 6.40
Blue With A Hint Of Purple
#533CC6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4BA6 #A3A64B
analogous
#4B76A6 #4E4BA6 #7C4BA6
triadic
#4E4BA6 #A64E4B #4BA64E
tetradic
#4E4BA6 #A64B76 #A3A64B #4BA67C
square
#4E4BA6 #A64B76 #A3A64B #4BA67C
split-complementary
#4E4BA6 #A67C4B #76A64B
monochromatic
#262552 #3A387C #4E4BA6 #7270BE #9C9AD1
Accessibility & contrast
On white
7.29
#4E4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#4E4BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4BA6
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4BA6 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#0553A4
Tritanopia (blue-blind)
#296071
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4e4ba6; /* rgb */ color: rgb(78, 75, 166); /* oklch */ color: oklch(46.6% 0.142 280.8);
Tailwind
colors: {
custom: {
50: '#877dc1',
500: '#4e4ba6',
950: '#000000',
},
}SCSS
$custom: #4e4ba6; $custom-light: #877dc1; $custom-dark: #000000;
JSON
{
"hex": "#4e4ba6",
"rgb": {
"r": 78,
"g": 75,
"b": 166
},
"hsl": {
"h": 241.978,
"s": 37.759,
"l": 47.255
},
"oklch": {
"l": 0.46565,
"c": 0.14228,
"h": 280.8
},
"luminance": 0.09405
}Semantic roles & 50–950 ramp
primary
#4E4BA6
secondary
#BCBE8F
accent
#CE5ACA
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81