#504694#504694
#504694 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.124 H 286.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #504694 |
|---|---|
| RGB | rgb(80, 70, 148) |
| HSL | hsl(248, 36%, 43%) |
| HSV | hsv(248, 53%, 58%) |
| CMYK | cmyk(45.9%, 52.7%, 0%, 42%) |
| CIE-LAB | lab(34.44, 25.06, -41.75) |
| CIE-LCH | lch(34.44, 48.69, 300.98°) |
| OKLab | oklab(44.5% 0.0342 -0.1187) |
| OKLCH | oklch(44.5% 0.124 286.1) |
| XYZ | xyz(10.8422, 8.2235, 29.0272) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.40
Darkslateblue
#483D8B
ΔE00 2.93
Twilight
#4E518B
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 5.74
Dusk
#4E5481
ΔE00 7.31
Rebeccapurple
#663399
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504694 #8A9446
analogous
#466394 #504694 #774694
triadic
#504694 #945046 #469450
tetradic
#504694 #944663 #8A9446 #469477
square
#504694 #944663 #8A9446 #469477
split-complementary
#504694 #947746 #639446
monochromatic
#231F41 #3A326A #504694 #6D62B5 #948CC9
Accessibility & contrast
On white
7.94
#504694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#504694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504694
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504694 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#204F92
Tritanopia (blue-blind)
#3B5766
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #504694; /* rgb */ color: rgb(80, 70, 148); /* oklch */ color: oklch(44.5% 0.124 286.1);
Tailwind
colors: {
custom: {
50: '#8679b4',
500: '#504694',
950: '#000000',
},
}SCSS
$custom: #504694; $custom-light: #8679b4; $custom-dark: #000000;
JSON
{
"hex": "#504694",
"rgb": {
"r": 80,
"g": 70,
"b": 148
},
"hsl": {
"h": 247.692,
"s": 35.78,
"l": 42.745
},
"oklch": {
"l": 0.44499,
"c": 0.12355,
"h": 286.1
},
"luminance": 0.08224
}Semantic roles & 50–950 ramp
primary
#504694
secondary
#AEB482
accent
#CC5CBD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80