#4E4ABA#4E4ABA
#4E4ABA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.171 H 279.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4ABA |
|---|---|
| RGB | rgb(78, 74, 186) |
| HSL | hsl(242, 45%, 51%) |
| HSV | hsv(242, 60%, 73%) |
| CMYK | cmyk(58.1%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(37.95, 34.31, -58.80) |
| CIE-LCH | lch(37.95, 68.07, 300.26°) |
| OKLab | oklab(47.91% 0.0278 -0.1689) |
| OKLCH | oklch(47.91% 0.171 279.3) |
| XYZ | xyz(14.4508, 10.0614, 47.6254) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.47
Blue With A Hint Of Purple
#533CC6
ΔE00 4.35
Bluey Purple
#6241C7
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 4.95
Iris
#6258C4
ΔE00 5.13
Blurple
#5539CC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4ABA #B6BA4A
analogous
#4A7EBA #4E4ABA #864ABA
triadic
#4E4ABA #BA4E4A #4ABA4E
tetradic
#4E4ABA #BA4A7E #B6BA4A #4ABA86
square
#4E4ABA #BA4A7E #B6BA4A #4ABA86
split-complementary
#4E4ABA #BA864A #7EBA4A
monochromatic
#282664 #3A3790 #4E4ABA #7976CB #A5A3DC
Accessibility & contrast
On white
6.97
#4E4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#4E4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E4ABA
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4ABA | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#09657B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4e4aba; /* rgb */ color: rgb(78, 74, 186); /* oklch */ color: oklch(47.9% 0.171 279.3);
Tailwind
colors: {
custom: {
50: '#8a7dd0',
500: '#4e4aba',
950: '#000000',
},
}SCSS
$custom: #4e4aba; $custom-light: #8a7dd0; $custom-dark: #000000;
JSON
{
"hex": "#4e4aba",
"rgb": {
"r": 78,
"g": 74,
"b": 186
},
"hsl": {
"h": 242.143,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.47914,
"c": 0.17115,
"h": 279.3
},
"luminance": 0.10062
}Semantic roles & 50–950 ramp
primary
#4E4ABA
secondary
#C7C997
accent
#D553D0
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82