#4E4EAA#4E4EAA
#4E4EAA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.144 H 279.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4EAA |
|---|---|
| RGB | rgb(78, 78, 170) |
| HSL | hsl(240, 37%, 49%) |
| HSV | hsv(240, 54%, 67%) |
| CMYK | cmyk(54.1%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(37.79, 26.56, -49.61) |
| CIE-LCH | lch(37.79, 56.27, 298.16°) |
| OKLab | oklab(47.43% 0.0235 -0.1418) |
| OKLCH | oklch(47.43% 0.144 279.4) |
| XYZ | xyz(13.1197, 9.9699, 39.2555) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.27
Blueberry
#464196
ΔE00 4.74
Iris
#6258C4
ΔE00 5.63
Twilight
#4E518B
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4EAA #AAAA4E
analogous
#4E7CAA #4E4EAA #7C4EAA
triadic
#4E4EAA #AA4E4E #4EAA4E
tetradic
#4E4EAA #AA4E7C #AAAA4E #4EAA7C
square
#4E4EAA #AA4E7C #AAAA4E #4EAA7C
split-complementary
#4E4EAA #AA7C4E #7CAA4E
monochromatic
#282856 #3B3B80 #4E4EAA #7575C0 #9F9FD3
Accessibility & contrast
On white
7.01
#4E4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#4E4EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4EAA
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4EAA | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#0655A8
Tritanopia (blue-blind)
#246374
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4e4eaa; /* rgb */ color: rgb(78, 78, 170); /* oklch */ color: oklch(47.4% 0.144 279.4);
Tailwind
colors: {
custom: {
50: '#877fc4',
500: '#4e4eaa',
950: '#000000',
},
}SCSS
$custom: #4e4eaa; $custom-light: #877fc4; $custom-dark: #000000;
JSON
{
"hex": "#4e4eaa",
"rgb": {
"r": 78,
"g": 78,
"b": 170
},
"hsl": {
"h": 240,
"s": 37.097,
"l": 48.627
},
"oklch": {
"l": 0.47427,
"c": 0.14376,
"h": 279.4
},
"luminance": 0.09971
}Semantic roles & 50–950 ramp
primary
#4E4EAA
secondary
#C0C094
accent
#CD5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82