#4E4789#4E4789
#4E4789 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.8% C 0.106 H 286.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4789 |
|---|---|
| RGB | rgb(78, 71, 137) |
| HSL | hsl(246, 32%, 41%) |
| HSV | hsv(246, 48%, 54%) |
| CMYK | cmyk(43.1%, 48.2%, 0%, 46.3%) |
| CIE-LAB | lab(33.84, 20.50, -36.00) |
| CIE-LCH | lch(33.84, 41.42, 299.66°) |
| OKLab | oklab(43.78% 0.0292 -0.1019) |
| OKLCH | oklch(43.78% 0.106 286) |
| XYZ | xyz(9.9092, 7.9319, 24.6710) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.47
Twilight
#4E518B
ΔE00 3.64
Blueberry
#464196
ΔE00 3.91
Dusk
#4E5481
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 7.95
Rebeccapurple
#663399
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4789 #828947
analogous
#476189 #4E4789 #6F4789
triadic
#4E4789 #894E47 #47894E
tetradic
#4E4789 #894761 #828947 #47896F
square
#4E4789 #894761 #828947 #47896F
split-complementary
#4E4789 #896F47 #618947
monochromatic
#201D38 #373261 #4E4789 #6860AD #8F89C2
Accessibility & contrast
On white
8.12
#4E4789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#4E4789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4789
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4789 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D518B
Deuteranopia (green-blind)
#2C4E87
Tritanopia (blue-blind)
#3D5461
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4e4789; /* rgb */ color: rgb(78, 71, 137); /* oklch */ color: oklch(43.8% 0.106 286.0);
Tailwind
colors: {
custom: {
50: '#837aac',
500: '#4e4789',
950: '#000000',
},
}SCSS
$custom: #4e4789; $custom-light: #837aac; $custom-dark: #000000;
JSON
{
"hex": "#4e4789",
"rgb": {
"r": 78,
"g": 71,
"b": 137
},
"hsl": {
"h": 246.364,
"s": 31.731,
"l": 40.784
},
"oklch": {
"l": 0.43781,
"c": 0.10599,
"h": 286
},
"luminance": 0.07932
}Semantic roles & 50–950 ramp
primary
#4E4789
secondary
#A8AD7F
accent
#C860BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F