#4E488F#4E488F
#4E488F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.4% C 0.113 H 284.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E488F |
|---|---|
| RGB | rgb(78, 72, 143) |
| HSL | hsl(245, 33%, 42%) |
| HSV | hsv(245, 50%, 56%) |
| CMYK | cmyk(45.5%, 49.7%, 0%, 43.9%) |
| CIE-LAB | lab(34.47, 21.72, -38.66) |
| CIE-LCH | lch(34.47, 44.35, 299.32°) |
| OKLab | oklab(44.38% 0.0286 -0.1097) |
| OKLCH | oklch(44.38% 0.113 284.6) |
| XYZ | xyz(10.4157, 8.2372, 27.0224) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.15
Darkslateblue
#483D8B
ΔE00 3.42
Twilight
#4E518B
ΔE00 3.60
Dusk
#4E5481
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.90
Sapphire (survey)
#2138AB
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E488F #898F48
analogous
#48668F #4E488F #71488F
triadic
#4E488F #8F4E48 #488F4E
tetradic
#4E488F #8F4866 #898F48 #488F71
square
#4E488F #8F4866 #898F48 #488F71
split-complementary
#4E488F #8F7148 #668F48
monochromatic
#221F3E #383466 #4E488F #6A63B1 #918CC5
Accessibility & contrast
On white
7.93
#4E488F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#4E488F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E488F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E488F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E488F | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#395764
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e488f; /* rgb */ color: rgb(78, 72, 143); /* oklch */ color: oklch(44.4% 0.113 284.6);
Tailwind
colors: {
custom: {
50: '#847bb0',
500: '#4e488f',
950: '#000000',
},
}SCSS
$custom: #4e488f; $custom-light: #847bb0; $custom-dark: #000000;
JSON
{
"hex": "#4e488f",
"rgb": {
"r": 78,
"g": 72,
"b": 143
},
"hsl": {
"h": 245.07,
"s": 33.023,
"l": 42.157
},
"oklch": {
"l": 0.44375,
"c": 0.11338,
"h": 284.6
},
"luminance": 0.08238
}Semantic roles & 50–950 ramp
primary
#4E488F
secondary
#ADB182
accent
#C95FC0
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0910
muted
#7C7B7F