#4E489B#4E489B
#4E489B is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.131 H 283.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4E489B |
|---|---|
| RGB | rgb(78, 72, 155) |
| HSL | hsl(244, 37%, 45%) |
| HSV | hsv(244, 54%, 61%) |
| CMYK | cmyk(49.7%, 53.5%, 0%, 39.2%) |
| CIE-LAB | lab(35.24, 25.52, -44.72) |
| CIE-LCH | lch(35.24, 51.49, 299.71°) |
| OKLab | oklab(45.2% 0.0297 -0.1275) |
| OKLCH | oklch(45.2% 0.131 283.1) |
| XYZ | xyz(11.3739, 8.6204, 32.0686) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.33
Darkslateblue
#483D8B
ΔE00 3.91
Ocean Blue
#4F42B5
ΔE00 4.77
Twilight
#4E518B
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 7.45
Dusk
#4E5481
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E489B #959B48
analogous
#486C9B #4E489B #78489B
triadic
#4E489B #9B4E48 #489B4E
tetradic
#4E489B #9B486C #959B48 #489B78
square
#4E489B #9B486C #959B48 #489B78
split-complementary
#4E489B #9B7848 #6C9B48
monochromatic
#242147 #393571 #4E489B #6D68B9 #9691CC
Accessibility & contrast
On white
7.71
#4E489B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#4E489B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E489B
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E489B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E489B | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#325A6A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #4e489b; /* rgb */ color: rgb(78, 72, 155); /* oklch */ color: oklch(45.2% 0.131 283.1);
Tailwind
colors: {
custom: {
50: '#857bb9',
500: '#4e489b',
950: '#000000',
},
}SCSS
$custom: #4e489b; $custom-light: #857bb9; $custom-dark: #000000;
JSON
{
"hex": "#4e489b",
"rgb": {
"r": 78,
"g": 72,
"b": 155
},
"hsl": {
"h": 244.337,
"s": 36.564,
"l": 44.51
},
"oklch": {
"l": 0.45201,
"c": 0.13088,
"h": 283.1
},
"luminance": 0.08621
}Semantic roles & 50–950 ramp
primary
#4E489B
secondary
#B4B887
accent
#CD5BC4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80