#4E52A0#4E52A0
#4E52A0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.124 H 278.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52A0 |
|---|---|
| RGB | rgb(78, 82, 160) |
| HSL | hsl(237, 34%, 47%) |
| HSV | hsv(237, 51%, 63%) |
| CMYK | cmyk(51.2%, 48.8%, 0%, 37.3%) |
| CIE-LAB | lab(38.18, 20.73, -43.01) |
| CIE-LCH | lch(38.18, 47.74, 295.74°) |
| OKLab | oklab(47.52% 0.018 -0.1224) |
| OKLCH | oklch(47.52% 0.124 278.4) |
| XYZ | xyz(12.5024, 10.1916, 34.5593) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.95
Blueberry
#464196
ΔE00 5.39
Dusky Blue
#475F94
ΔE00 6.11
Dusk
#4E5481
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.49
Iris
#6258C4
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52A0 #A09C4E
analogous
#4E7BA0 #4E52A0 #734EA0
triadic
#4E52A0 #A04E52 #52A04E
tetradic
#4E52A0 #A04E7B #A09C4E #4EA073
square
#4E52A0 #A04E7B #A09C4E #4EA073
split-complementary
#4E52A0 #A0734E #7BA04E
monochromatic
#26284E #3A3D77 #4E52A0 #7175BA #9A9DCE
Accessibility & contrast
On white
6.91
#4E52A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#4E52A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52A0
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52A0 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5DA3
Deuteranopia (green-blind)
#27579E
Tritanopia (blue-blind)
#2D6371
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e52a0; /* rgb */ color: rgb(78, 82, 160); /* oklch */ color: oklch(47.5% 0.124 278.4);
Tailwind
colors: {
custom: {
50: '#8582bc',
500: '#4e52a0',
950: '#000000',
},
}SCSS
$custom: #4e52a0; $custom-light: #8582bc; $custom-dark: #000000;
JSON
{
"hex": "#4e52a0",
"rgb": {
"r": 78,
"g": 82,
"b": 160
},
"hsl": {
"h": 237.073,
"s": 34.454,
"l": 46.667
},
"oklch": {
"l": 0.47515,
"c": 0.1237,
"h": 278.4
},
"luminance": 0.10192
}Semantic roles & 50–950 ramp
primary
#4E52A0
secondary
#BBB98F
accent
#C55DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81