#504692#504692
#504692 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.121 H 286.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #504692 |
|---|---|
| RGB | rgb(80, 70, 146) |
| HSL | hsl(248, 35%, 42%) |
| HSV | hsv(248, 52%, 57%) |
| CMYK | cmyk(45.2%, 52.1%, 0%, 42.7%) |
| CIE-LAB | lab(34.32, 24.44, -40.74) |
| CIE-LCH | lch(34.32, 47.50, 300.96°) |
| OKLab | oklab(44.36% 0.0341 -0.1157) |
| OKLCH | oklch(44.36% 0.121 286.4) |
| XYZ | xyz(10.6852, 8.1607, 28.2007) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.61
Darkslateblue
#483D8B
ΔE00 2.86
Twilight
#4E518B
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 6.12
Dusk
#4E5481
ΔE00 7.10
Rebeccapurple
#663399
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504692 #889246
analogous
#466292 #504692 #764692
triadic
#504692 #925046 #469250
tetradic
#504692 #924662 #889246 #469276
square
#504692 #924662 #889246 #469276
split-complementary
#504692 #927646 #629246
monochromatic
#231E3F #393269 #504692 #6C62B4 #938BC7
Accessibility & contrast
On white
7.98
#504692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#504692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504692
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504692 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#234F90
Tritanopia (blue-blind)
#3C5665
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #504692; /* rgb */ color: rgb(80, 70, 146); /* oklch */ color: oklch(44.4% 0.121 286.4);
Tailwind
colors: {
custom: {
50: '#8579b2',
500: '#504692',
950: '#000000',
},
}SCSS
$custom: #504692; $custom-light: #8579b2; $custom-dark: #000000;
JSON
{
"hex": "#504692",
"rgb": {
"r": 80,
"g": 70,
"b": 146
},
"hsl": {
"h": 247.895,
"s": 35.185,
"l": 42.353
},
"oklch": {
"l": 0.44362,
"c": 0.12065,
"h": 286.4
},
"luminance": 0.08161
}Semantic roles & 50–950 ramp
primary
#504692
secondary
#ACB381
accent
#CB5DBD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80