#4E4791#4E4791
#4E4791 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.3% C 0.118 H 284.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4791 |
|---|---|
| RGB | rgb(78, 71, 145) |
| HSL | hsl(246, 34%, 42%) |
| HSV | hsv(246, 51%, 57%) |
| CMYK | cmyk(46.2%, 51%, 0%, 43.1%) |
| CIE-LAB | lab(34.33, 22.99, -40.10) |
| CIE-LCH | lch(34.33, 46.23, 299.82°) |
| OKLab | oklab(44.31% 0.0301 -0.1139) |
| OKLCH | oklch(44.31% 0.118 284.8) |
| XYZ | xyz(10.5045, 8.1701, 27.8061) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.65
Darkslateblue
#483D8B
ΔE00 3.08
Twilight
#4E518B
ΔE00 4.11
Ocean Blue
#4F42B5
ΔE00 6.39
Dusk
#4E5481
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4791 #8A9147
analogous
#476591 #4E4791 #734791
triadic
#4E4791 #914E47 #47914E
tetradic
#4E4791 #914765 #8A9147 #479173
square
#4E4791 #914765 #8A9147 #479173
split-complementary
#4E4791 #917347 #659147
monochromatic
#221F3F #383368 #4E4791 #6A63B2 #918CC7
Accessibility & contrast
On white
7.97
#4E4791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#4E4791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4791
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4791 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#385765
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e4791; /* rgb */ color: rgb(78, 71, 145); /* oklch */ color: oklch(44.3% 0.118 284.8);
Tailwind
colors: {
custom: {
50: '#847ab2',
500: '#4e4791',
950: '#000000',
},
}SCSS
$custom: #4e4791; $custom-light: #847ab2; $custom-dark: #000000;
JSON
{
"hex": "#4e4791",
"rgb": {
"r": 78,
"g": 71,
"b": 145
},
"hsl": {
"h": 245.676,
"s": 34.259,
"l": 42.353
},
"oklch": {
"l": 0.44312,
"c": 0.11785,
"h": 284.8
},
"luminance": 0.08171
}Semantic roles & 50–950 ramp
primary
#4E4791
secondary
#AEB282
accent
#CA5DC0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80