#4E52AB#4E52AB
#4E52AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.140 H 277.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52AB |
|---|---|
| RGB | rgb(78, 82, 171) |
| HSL | hsl(237, 37%, 49%) |
| HSV | hsv(237, 54%, 67%) |
| CMYK | cmyk(54.4%, 52%, 0%, 32.9%) |
| CIE-LAB | lab(38.89, 24.34, -48.43) |
| CIE-LCH | lch(38.89, 54.20, 296.68°) |
| OKLab | oklab(48.27% 0.0191 -0.1383) |
| OKLCH | oklch(48.27% 0.14 277.9) |
| XYZ | xyz(13.5075, 10.5937, 39.8532) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.46
Twilight
#4E518B
ΔE00 5.77
Blueberry
#464196
ΔE00 5.85
Dusky Blue
#475F94
ΔE00 6.78
Warm Blue
#4B57DB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52AB #ABA74E
analogous
#4E81AB #4E52AB #794EAB
triadic
#4E52AB #AB4E52 #52AB4E
tetradic
#4E52AB #AB4E81 #ABA74E #4EAB79
square
#4E52AB #AB4E81 #ABA74E #4EAB79
split-complementary
#4E52AB #AB794E #81AB4E
monochromatic
#282A57 #3B3E81 #4E52AB #7679C0 #A0A2D4
Accessibility & contrast
On white
6.73
#4E52AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4E52AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52AB
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52AB | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235FAE
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#226676
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4e52ab; /* rgb */ color: rgb(78, 82, 171); /* oklch */ color: oklch(48.3% 0.140 277.9);
Tailwind
colors: {
custom: {
50: '#8782c5',
500: '#4e52ab',
950: '#000000',
},
}SCSS
$custom: #4e52ab; $custom-light: #8782c5; $custom-dark: #000000;
JSON
{
"hex": "#4e52ab",
"rgb": {
"r": 78,
"g": 82,
"b": 171
},
"hsl": {
"h": 237.419,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.48272,
"c": 0.13964,
"h": 277.9
},
"luminance": 0.10595
}Semantic roles & 50–950 ramp
primary
#4E52AB
secondary
#C1BF94
accent
#C85ACD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82