#4E529E#4E529E
#4E529E is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.121 H 278.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4E529E |
|---|---|
| RGB | rgb(78, 82, 158) |
| HSL | hsl(237, 34%, 46%) |
| HSV | hsv(237, 51%, 62%) |
| CMYK | cmyk(50.6%, 48.1%, 0%, 38%) |
| CIE-LAB | lab(38.06, 20.08, -42.00) |
| CIE-LCH | lch(38.06, 46.56, 295.55°) |
| OKLab | oklab(47.38% 0.0178 -0.1194) |
| OKLCH | oklch(47.38% 0.121 278.5) |
| XYZ | xyz(12.3288, 10.1222, 33.6453) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.60
Blueberry
#464196
ΔE00 5.38
Dusk
#4E5481
ΔE00 6.02
Dusky Blue
#475F94
ΔE00 6.03
Denim Blue
#3B5B92
ΔE00 6.69
Ocean Blue
#4F42B5
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E529E #9E9A4E
analogous
#4E7A9E #4E529E #724E9E
triadic
#4E529E #9E4E52 #529E4E
tetradic
#4E529E #9E4E7A #9E9A4E #4E9E72
square
#4E529E #9E4E7A #9E9A4E #4E9E72
split-complementary
#4E529E #9E724E #7A9E4E
monochromatic
#26274C #3A3D75 #4E529E #7174B9 #9A9CCD
Accessibility & contrast
On white
6.94
#4E529E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#4E529E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E529E
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E529E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E529E | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#29579C
Tritanopia (blue-blind)
#2F6270
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e529e; /* rgb */ color: rgb(78, 82, 158); /* oklch */ color: oklch(47.4% 0.121 278.5);
Tailwind
colors: {
custom: {
50: '#8582bb',
500: '#4e529e',
950: '#000000',
},
}SCSS
$custom: #4e529e; $custom-light: #8582bb; $custom-dark: #000000;
JSON
{
"hex": "#4e529e",
"rgb": {
"r": 78,
"g": 82,
"b": 158
},
"hsl": {
"h": 237,
"s": 33.898,
"l": 46.275
},
"oklch": {
"l": 0.47382,
"c": 0.12075,
"h": 278.5
},
"luminance": 0.10123
}Semantic roles & 50–950 ramp
primary
#4E529E
secondary
#BAB78E
accent
#C55ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81