#4E488E#4E488E
#4E488E is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.3% C 0.112 H 284.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4E488E |
|---|---|
| RGB | rgb(78, 72, 142) |
| HSL | hsl(245, 33%, 42%) |
| HSV | hsv(245, 49%, 56%) |
| CMYK | cmyk(45.1%, 49.3%, 0%, 44.3%) |
| CIE-LAB | lab(34.41, 21.40, -38.15) |
| CIE-LCH | lch(34.41, 43.75, 299.29°) |
| OKLab | oklab(44.31% 0.0285 -0.1082) |
| OKLCH | oklch(44.31% 0.112 284.8) |
| XYZ | xyz(10.3403, 8.2070, 26.6252) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.29
Darkslateblue
#483D8B
ΔE00 3.45
Twilight
#4E518B
ΔE00 3.53
Dusk
#4E5481
ΔE00 5.94
Ocean Blue
#4F42B5
ΔE00 7.09
Cobalt (survey)
#1E488F
ΔE00 8.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E488E #888E48
analogous
#48658E #4E488E #71488E
triadic
#4E488E #8E4E48 #488E4E
tetradic
#4E488E #8E4865 #888E48 #488E71
square
#4E488E #8E4865 #888E48 #488E71
split-complementary
#4E488E #8E7148 #658E48
monochromatic
#211F3D #383365 #4E488E #6A63B0 #918CC5
Accessibility & contrast
On white
7.95
#4E488E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4E488E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E488E
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E488E | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#3A5764
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e488e; /* rgb */ color: rgb(78, 72, 142); /* oklch */ color: oklch(44.3% 0.112 284.8);
Tailwind
colors: {
custom: {
50: '#837baf',
500: '#4e488e',
950: '#000000',
},
}SCSS
$custom: #4e488e; $custom-light: #837baf; $custom-dark: #000000;
JSON
{
"hex": "#4e488e",
"rgb": {
"r": 78,
"g": 72,
"b": 142
},
"hsl": {
"h": 245.143,
"s": 32.71,
"l": 41.961
},
"oklch": {
"l": 0.44308,
"c": 0.11189,
"h": 284.8
},
"luminance": 0.08207
}Semantic roles & 50–950 ramp
primary
#4E488E
secondary
#ACB082
accent
#C95FC0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F