#504E91#504E91
#504E91 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.9% C 0.107 H 282.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #504E91 |
|---|---|
| RGB | rgb(80, 78, 145) |
| HSL | hsl(242, 30%, 44%) |
| HSV | hsv(242, 46%, 57%) |
| CMYK | cmyk(44.8%, 46.2%, 0%, 43.1%) |
| CIE-LAB | lab(36.36, 19.00, -36.86) |
| CIE-LCH | lch(36.36, 41.47, 297.28°) |
| OKLab | oklab(45.88% 0.0235 -0.1043) |
| OKLCH | oklch(45.88% 0.107 282.7) |
| XYZ | xyz(11.1420, 9.1981, 27.9709) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.96
Dusk
#4E5481
ΔE00 4.67
Blueberry
#464196
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 5.37
Dusky Blue
#475F94
ΔE00 7.54
Ocean Blue
#4F42B5
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504E91 #8F914E
analogous
#4E6D91 #504E91 #714E91
triadic
#504E91 #91504E #4E9150
tetradic
#504E91 #914E6D #8F914E #4E9171
square
#504E91 #914E6D #8F914E #4E9171
split-complementary
#504E91 #91714E #6D914E
monochromatic
#242341 #3A3969 #504E91 #6E6CB0 #9594C5
Accessibility & contrast
On white
7.39
#504E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#504E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504E91
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504E91 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345893
Deuteranopia (green-blind)
#31538F
Tritanopia (blue-blind)
#3B5C68
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #504e91; /* rgb */ color: rgb(80, 78, 145); /* oklch */ color: oklch(45.9% 0.107 282.7);
Tailwind
colors: {
custom: {
50: '#857fb1',
500: '#504e91',
950: '#000000',
},
}SCSS
$custom: #504e91; $custom-light: #857fb1; $custom-dark: #000000;
JSON
{
"hex": "#504e91",
"rgb": {
"r": 80,
"g": 78,
"b": 145
},
"hsl": {
"h": 241.791,
"s": 30.045,
"l": 43.725
},
"oklch": {
"l": 0.45884,
"c": 0.10694,
"h": 282.7
},
"luminance": 0.09199
}Semantic roles & 50–950 ramp
primary
#504E91
secondary
#B1B289
accent
#C662C3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80