#4E528A#4E528A
#4E528A is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.1% C 0.091 H 279.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4E528A |
|---|---|
| RGB | rgb(78, 82, 138) |
| HSL | hsl(236, 28%, 42%) |
| HSV | hsv(236, 43%, 54%) |
| CMYK | cmyk(43.5%, 40.6%, 0%, 45.9%) |
| CIE-LAB | lab(36.91, 13.71, -31.74) |
| CIE-LCH | lch(36.91, 34.58, 293.36°) |
| OKLab | oklab(46.13% 0.0143 -0.0894) |
| OKLCH | oklch(46.13% 0.091 279.1) |
| XYZ | xyz(10.7453, 9.4888, 25.3052) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.49
Dusk
#4E5481
ΔE00 2.40
Dusky Blue
#475F94
ΔE00 6.15
Blueberry
#464196
ΔE00 6.73
Denim Blue
#3B5B92
ΔE00 7.03
Darkslateblue
#483D8B
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E528A #8A864E
analogous
#4E708A #4E528A #684E8A
triadic
#4E528A #8A4E52 #528A4E
tetradic
#4E528A #8A4E70 #8A864E #4E8A68
square
#4E528A #8A4E70 #8A864E #4E8A68
split-complementary
#4E528A #8A684E #708A4E
monochromatic
#22243C #383B63 #4E528A #6A6FAB #9195C1
Accessibility & contrast
On white
7.25
#4E528A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#4E528A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E528A
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E528A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E528A | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#3B5D67
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4e528a; /* rgb */ color: rgb(78, 82, 138); /* oklch */ color: oklch(46.1% 0.091 279.1);
Tailwind
colors: {
custom: {
50: '#8282ac',
500: '#4e528a',
950: '#000000',
},
}SCSS
$custom: #4e528a; $custom-light: #8282ac; $custom-dark: #000000;
JSON
{
"hex": "#4e528a",
"rgb": {
"r": 78,
"g": 82,
"b": 138
},
"hsl": {
"h": 236,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.46131,
"c": 0.09055,
"h": 279.1
},
"luminance": 0.09489
}Semantic roles & 50–950 ramp
primary
#4E528A
secondary
#AEAB86
accent
#BE64C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F