#4E4AB9#4E4AB9
#4E4AB9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.170 H 279.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4AB9 |
|---|---|
| RGB | rgb(78, 74, 185) |
| HSL | hsl(242, 44%, 51%) |
| HSV | hsv(242, 60%, 73%) |
| CMYK | cmyk(57.8%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(37.88, 33.98, -58.33) |
| CIE-LCH | lch(37.88, 67.51, 300.22°) |
| OKLab | oklab(47.83% 0.0278 -0.1675) |
| OKLCH | oklch(47.83% 0.17 279.4) |
| XYZ | xyz(14.3449, 10.0191, 47.0675) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.44
Blue With A Hint Of Purple
#533CC6
ΔE00 4.42
Bluey Purple
#6241C7
ΔE00 4.78
Blue Blue
#2242C7
ΔE00 5.00
Iris
#6258C4
ΔE00 5.17
Blurple
#5539CC
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4AB9 #B5B94A
analogous
#4A7DB9 #4E4AB9 #854AB9
triadic
#4E4AB9 #B94E4A #4AB94E
tetradic
#4E4AB9 #B94A7D #B5B94A #4AB985
square
#4E4AB9 #B94A7D #B5B94A #4AB985
split-complementary
#4E4AB9 #B9854A #7DB94A
monochromatic
#282663 #3A378F #4E4AB9 #7976CA #A4A2DB
Accessibility & contrast
On white
6.99
#4E4AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#4E4AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E4AB9
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4AB9 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#0C657A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4e4ab9; /* rgb */ color: rgb(78, 74, 185); /* oklch */ color: oklch(47.8% 0.170 279.4);
Tailwind
colors: {
custom: {
50: '#8a7dcf',
500: '#4e4ab9',
950: '#000000',
},
}SCSS
$custom: #4e4ab9; $custom-light: #8a7dcf; $custom-dark: #000000;
JSON
{
"hex": "#4e4ab9",
"rgb": {
"r": 78,
"g": 74,
"b": 185
},
"hsl": {
"h": 242.162,
"s": 44.223,
"l": 50.784
},
"oklch": {
"l": 0.47834,
"c": 0.16981,
"h": 279.4
},
"luminance": 0.1002
}Semantic roles & 50–950 ramp
primary
#4E4AB9
secondary
#C6C897
accent
#D454CF
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82