#4E538A#4E538A
#4E538A is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.089 H 278.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4E538A |
|---|---|
| RGB | rgb(78, 83, 138) |
| HSL | hsl(235, 28%, 42%) |
| HSV | hsv(235, 43%, 54%) |
| CMYK | cmyk(43.5%, 39.9%, 0%, 45.9%) |
| CIE-LAB | lab(37.19, 13.07, -31.30) |
| CIE-LCH | lch(37.19, 33.92, 292.66°) |
| OKLab | oklab(46.35% 0.013 -0.0881) |
| OKLCH | oklch(46.35% 0.089 278.4) |
| XYZ | xyz(10.8212, 9.6407, 25.3305) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.85
Dusk
#4E5481
ΔE00 2.19
Dusky Blue
#475F94
ΔE00 5.83
Denim Blue
#3B5B92
ΔE00 6.76
Blueberry
#464196
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E538A #8A854E
analogous
#4E718A #4E538A #674E8A
triadic
#4E538A #8A4E53 #538A4E
tetradic
#4E538A #8A4E71 #8A854E #4E8A67
square
#4E538A #8A4E71 #8A854E #4E8A67
split-complementary
#4E538A #8A674E #718A4E
monochromatic
#22243C #383B63 #4E538A #6A70AB #9195C1
Accessibility & contrast
On white
7.17
#4E538A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#4E538A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E538A
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E538A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E538A | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#3C5589
Tritanopia (blue-blind)
#3B5E68
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4e538a; /* rgb */ color: rgb(78, 83, 138); /* oklch */ color: oklch(46.3% 0.089 278.4);
Tailwind
colors: {
custom: {
50: '#8283ac',
500: '#4e538a',
950: '#000000',
},
}SCSS
$custom: #4e538a; $custom-light: #8283ac; $custom-dark: #000000;
JSON
{
"hex": "#4e538a",
"rgb": {
"r": 78,
"g": 83,
"b": 138
},
"hsl": {
"h": 235,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.46346,
"c": 0.08907,
"h": 278.4
},
"luminance": 0.09641
}Semantic roles & 50–950 ramp
primary
#4E538A
secondary
#AEAA86
accent
#BC64C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F