#4E4772#4E4772
#4E4772 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.4% C 0.071 H 290.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4772 |
|---|---|
| RGB | rgb(78, 71, 114) |
| HSL | hsl(250, 23%, 36%) |
| HSV | hsv(250, 38%, 45%) |
| CMYK | cmyk(31.6%, 37.7%, 0%, 55.3%) |
| CIE-LAB | lab(32.57, 13.64, -23.72) |
| CIE-LCH | lch(32.57, 27.36, 299.90°) |
| OKLab | oklab(42.4% 0.0248 -0.0661) |
| OKLCH | oklch(42.4% 0.071 290.5) |
| XYZ | xyz(8.4316, 7.3409, 16.8890) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.58
Twilight
#4E518B
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 7.98
Blueberry
#464196
ΔE00 9.23
Dusky Blue
#475F94
ΔE00 11.81
Rebeccapurple
#663399
ΔE00 12.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4772 #6B7247
analogous
#475672 #4E4772 #644772
triadic
#4E4772 #724E47 #47724E
tetradic
#4E4772 #724756 #6B7247 #477264
square
#4E4772 #724756 #6B7247 #477264
split-complementary
#4E4772 #726447 #567247
monochromatic
#1A1827 #34304C #4E4772 #685E98 #8A82B1
Accessibility & contrast
On white
8.51
#4E4772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#4E4772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4772
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4772 | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#464F57
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e4772; /* rgb */ color: rgb(78, 71, 114); /* oklch */ color: oklch(42.4% 0.071 290.5);
Tailwind
colors: {
custom: {
50: '#817a9a',
500: '#4e4772',
950: '#000000',
},
}SCSS
$custom: #4e4772; $custom-light: #817a9a; $custom-dark: #000000;
JSON
{
"hex": "#4e4772",
"rgb": {
"r": 78,
"g": 71,
"b": 114
},
"hsl": {
"h": 249.767,
"s": 23.243,
"l": 36.275
},
"oklch": {
"l": 0.42402,
"c": 0.07061,
"h": 290.5
},
"luminance": 0.07341
}Semantic roles & 50–950 ramp
primary
#4E4772
secondary
#979D77
accent
#C068B1
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E