#505397#505397
#505397 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.108 H 279.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #505397 |
|---|---|
| RGB | rgb(80, 83, 151) |
| HSL | hsl(237, 31%, 45%) |
| HSV | hsv(237, 47%, 59%) |
| CMYK | cmyk(47%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(38.07, 17.69, -37.78) |
| CIE-LCH | lch(38.07, 41.71, 295.09°) |
| OKLab | oklab(47.29% 0.0179 -0.107) |
| OKLCH | oklch(47.29% 0.108 279.5) |
| XYZ | xyz(11.9857, 10.1257, 30.5951) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.25
Dusk
#4E5481
ΔE00 4.67
Dusky Blue
#475F94
ΔE00 5.83
Blueberry
#464196
ΔE00 5.88
Denim Blue
#3B5B92
ΔE00 6.76
Darkslateblue
#483D8B
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505397 #979450
analogous
#507697 #505397 #705097
triadic
#505397 #975053 #539750
tetradic
#505397 #975076 #979450 #509770
square
#505397 #975076 #979450 #509770
split-complementary
#505397 #977050 #769750
monochromatic
#262747 #3B3D6F #505397 #7173B4 #999BC9
Accessibility & contrast
On white
6.94
#505397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#505397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505397
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505397 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#37616D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #505397; /* rgb */ color: rgb(80, 83, 151); /* oklch */ color: oklch(47.3% 0.108 279.5);
Tailwind
colors: {
custom: {
50: '#8583b6',
500: '#505397',
950: '#000000',
},
}SCSS
$custom: #505397; $custom-light: #8583b6; $custom-dark: #000000;
JSON
{
"hex": "#505397",
"rgb": {
"r": 80,
"g": 83,
"b": 151
},
"hsl": {
"h": 237.465,
"s": 30.736,
"l": 45.294
},
"oklch": {
"l": 0.47291,
"c": 0.10847,
"h": 279.5
},
"luminance": 0.10126
}Semantic roles & 50–950 ramp
primary
#505397
secondary
#B6B48D
accent
#C361C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A11
muted
#7C7C80