#4E4AB5#4E4AB5
#4E4AB5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.164 H 279.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4AB5 |
|---|---|
| RGB | rgb(78, 74, 181) |
| HSL | hsl(242, 42%, 50%) |
| HSV | hsv(242, 59%, 71%) |
| CMYK | cmyk(56.9%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(37.58, 32.68, -56.46) |
| CIE-LCH | lch(37.58, 65.24, 300.06°) |
| OKLab | oklab(47.52% 0.0279 -0.162) |
| OKLCH | oklch(47.52% 0.164 279.8) |
| XYZ | xyz(13.9285, 9.8525, 44.8749) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.42
Blue With A Hint Of Purple
#533CC6
ΔE00 4.73
Bluey Purple
#6241C7
ΔE00 5.10
Blue Blue
#2242C7
ΔE00 5.24
Blueberry
#464196
ΔE00 5.30
Iris
#6258C4
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4AB5 #B1B54A
analogous
#4A7BB5 #4E4AB5 #844AB5
triadic
#4E4AB5 #B54E4A #4AB54E
tetradic
#4E4AB5 #B54A7B #B1B54A #4AB584
square
#4E4AB5 #B54A7B #B1B54A #4AB584
split-complementary
#4E4AB5 #B5844A #7BB54A
monochromatic
#29265E #3B388A #4E4AB5 #7875C7 #A3A1D9
Accessibility & contrast
On white
7.07
#4E4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#4E4AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4AB5
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4AB5 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#166378
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4e4ab5; /* rgb */ color: rgb(78, 74, 181); /* oklch */ color: oklch(47.5% 0.164 279.8);
Tailwind
colors: {
custom: {
50: '#897dcc',
500: '#4e4ab5',
950: '#000000',
},
}SCSS
$custom: #4e4ab5; $custom-light: #897dcc; $custom-dark: #000000;
JSON
{
"hex": "#4e4ab5",
"rgb": {
"r": 78,
"g": 74,
"b": 181
},
"hsl": {
"h": 242.243,
"s": 41.961,
"l": 50
},
"oklch": {
"l": 0.47518,
"c": 0.16441,
"h": 279.8
},
"luminance": 0.09853
}Semantic roles & 50–950 ramp
primary
#4E4AB5
secondary
#C4C595
accent
#D256CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82