#504697#504697
#504697 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.128 H 285.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #504697 |
|---|---|
| RGB | rgb(80, 70, 151) |
| HSL | hsl(247, 37%, 43%) |
| HSV | hsv(247, 54%, 59%) |
| CMYK | cmyk(47%, 53.6%, 0%, 40.8%) |
| CIE-LAB | lab(34.64, 26.00, -43.26) |
| CIE-LCH | lch(34.64, 50.47, 301.00°) |
| OKLab | oklab(44.71% 0.0344 -0.1231) |
| OKLCH | oklch(44.71% 0.128 285.6) |
| XYZ | xyz(11.0827, 8.3197, 30.2941) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.21
Darkslateblue
#483D8B
ΔE00 3.12
Twilight
#4E518B
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 5.19
Dusk
#4E5481
ΔE00 7.64
Rebeccapurple
#663399
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504697 #8D9746
analogous
#466497 #504697 #784697
triadic
#504697 #975046 #469750
tetradic
#504697 #974664 #8D9746 #469778
square
#504697 #974664 #8D9746 #469778
split-complementary
#504697 #977846 #649746
monochromatic
#241F43 #3A336D #504697 #6E63B7 #958DCA
Accessibility & contrast
On white
7.88
#504697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#504697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504697
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504697 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#395767
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #504697; /* rgb */ color: rgb(80, 70, 151); /* oklch */ color: oklch(44.7% 0.128 285.6);
Tailwind
colors: {
custom: {
50: '#8679b6',
500: '#504697',
950: '#000000',
},
}SCSS
$custom: #504697; $custom-light: #8679b6; $custom-dark: #000000;
JSON
{
"hex": "#504697",
"rgb": {
"r": 80,
"g": 70,
"b": 151
},
"hsl": {
"h": 247.407,
"s": 36.652,
"l": 43.333
},
"oklch": {
"l": 0.44709,
"c": 0.12787,
"h": 285.6
},
"luminance": 0.0832
}Semantic roles & 50–950 ramp
primary
#504697
secondary
#AFB683
accent
#CD5BBF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80