#505180#505180
#505180 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.076 H 282.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #505180 |
|---|---|
| RGB | rgb(80, 81, 128) |
| HSL | hsl(239, 23%, 41%) |
| HSV | hsv(239, 38%, 50%) |
| CMYK | cmyk(37.5%, 36.7%, 0%, 49.8%) |
| CIE-LAB | lab(36.27, 11.89, -26.61) |
| CIE-LCH | lch(36.27, 29.15, 294.07°) |
| OKLab | oklab(45.51% 0.0158 -0.0745) |
| OKLCH | oklch(45.51% 0.076 282) |
| XYZ | xyz(10.1459, 9.1485, 21.6492) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.62
Twilight
#4E518B
ΔE00 2.73
Dusky Blue
#475F94
ΔE00 7.72
Darkslateblue
#483D8B
ΔE00 8.06
Blueberry
#464196
ΔE00 8.20
Denim Blue
#3B5B92
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505180 #807F50
analogous
#506980 #505180 #675080
triadic
#505180 #805051 #518050
tetradic
#505180 #805069 #807F50 #508067
square
#505180 #805069 #807F50 #508067
split-complementary
#505180 #806750 #698050
monochromatic
#212135 #38395A #505180 #6B6CA2 #9091BA
Accessibility & contrast
On white
7.42
#505180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#505180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #505180
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505180 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425782
Deuteranopia (green-blind)
#40547F
Tritanopia (blue-blind)
#435A62
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #505180; /* rgb */ color: rgb(80, 81, 128); /* oklch */ color: oklch(45.5% 0.076 282.0);
Tailwind
colors: {
custom: {
50: '#8381a5',
500: '#505180',
950: '#000000',
},
}SCSS
$custom: #505180; $custom-light: #8381a5; $custom-dark: #000000;
JSON
{
"hex": "#505180",
"rgb": {
"r": 80,
"g": 81,
"b": 128
},
"hsl": {
"h": 238.75,
"s": 23.077,
"l": 40.784
},
"oklch": {
"l": 0.45511,
"c": 0.07613,
"h": 282
},
"luminance": 0.09149
}Semantic roles & 50–950 ramp
primary
#505180
secondary
#A7A685
accent
#BE68C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F