#505293#505293
#505293 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.104 H 280.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #505293 |
|---|---|
| RGB | rgb(80, 82, 147) |
| HSL | hsl(238, 30%, 45%) |
| HSV | hsv(238, 46%, 58%) |
| CMYK | cmyk(45.6%, 44.2%, 0%, 42.4%) |
| CIE-LAB | lab(37.56, 17.06, -36.16) |
| CIE-LCH | lch(37.56, 39.98, 295.26°) |
| OKLab | oklab(46.83% 0.0185 -0.1023) |
| OKLCH | oklch(46.83% 0.104 280.3) |
| XYZ | xyz(11.5904, 9.8461, 28.8879) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.52
Dusk
#4E5481
ΔE00 4.10
Blueberry
#464196
ΔE00 5.81
Dusky Blue
#475F94
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.73
Denim Blue
#3B5B92
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505293 #939150
analogous
#507493 #505293 #705093
triadic
#505293 #935052 #529350
tetradic
#505293 #935074 #939150 #509370
square
#505293 #935074 #939150 #509370
split-complementary
#505293 #937050 #749350
monochromatic
#252644 #3A3C6B #505293 #6F71B1 #9798C6
Accessibility & contrast
On white
7.07
#505293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#505293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #505293
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505293 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395B95
Deuteranopia (green-blind)
#355692
Tritanopia (blue-blind)
#3A5F6B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #505293; /* rgb */ color: rgb(80, 82, 147); /* oklch */ color: oklch(46.8% 0.104 280.3);
Tailwind
colors: {
custom: {
50: '#8582b3',
500: '#505293',
950: '#000000',
},
}SCSS
$custom: #505293; $custom-light: #8582b3; $custom-dark: #000000;
JSON
{
"hex": "#505293",
"rgb": {
"r": 80,
"g": 82,
"b": 147
},
"hsl": {
"h": 238.209,
"s": 29.515,
"l": 44.51
},
"oklch": {
"l": 0.46834,
"c": 0.10393,
"h": 280.3
},
"luminance": 0.09847
}Semantic roles & 50–950 ramp
primary
#505293
secondary
#B3B28C
accent
#C362C6
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80