#4A4EAE#4A4EAE
#4A4EAE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.150 H 277.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4EAE |
|---|---|
| RGB | rgb(74, 78, 174) |
| HSL | hsl(238, 40%, 49%) |
| HSV | hsv(238, 57%, 68%) |
| CMYK | cmyk(57.5%, 55.2%, 0%, 31.8%) |
| CIE-LAB | lab(37.77, 27.07, -52.03) |
| CIE-LCH | lch(37.77, 58.65, 297.49°) |
| OKLab | oklab(47.43% 0.0189 -0.149) |
| OKLCH | oklch(47.43% 0.15 277.2) |
| XYZ | xyz(13.1860, 9.9597, 41.2638) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.25
Blueberry
#464196
ΔE00 5.17
Iris
#6258C4
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.85
Twilight
#4E518B
ΔE00 6.58
Blue With A Hint Of Purple
#533CC6
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4EAE #AEAA4A
analogous
#4A80AE #4A4EAE #784AAE
triadic
#4A4EAE #AE4A4E #4EAE4A
tetradic
#4A4EAE #AE4A80 #AEAA4A #4AAE78
square
#4A4EAE #AE4A80 #AEAA4A #4AAE78
split-complementary
#4A4EAE #AE784A #80AE4A
monochromatic
#252858 #383B83 #4A4EAE #7275C3 #9D9FD5
Accessibility & contrast
On white
7.02
#4A4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#4A4EAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4EAE
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4EAE | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5DB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#0E6476
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4a4eae; /* rgb */ color: rgb(74, 78, 174); /* oklch */ color: oklch(47.4% 0.150 277.2);
Tailwind
colors: {
custom: {
50: '#857fc7',
500: '#4a4eae',
950: '#000000',
},
}SCSS
$custom: #4a4eae; $custom-light: #857fc7; $custom-dark: #000000;
JSON
{
"hex": "#4a4eae",
"rgb": {
"r": 74,
"g": 78,
"b": 174
},
"hsl": {
"h": 237.6,
"s": 40.323,
"l": 48.627
},
"oklch": {
"l": 0.47426,
"c": 0.15024,
"h": 277.2
},
"luminance": 0.09961
}Semantic roles & 50–950 ramp
primary
#4A4EAE
secondary
#C2C092
accent
#CB58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82