#505B82#505B82
#505B82 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.8% C 0.065 H 271.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #505B82 |
|---|---|
| RGB | rgb(80, 91, 130) |
| HSL | hsl(227, 24%, 41%) |
| HSV | hsv(227, 38%, 51%) |
| CMYK | cmyk(38.5%, 30%, 0%, 49%) |
| CIE-LAB | lab(39.24, 6.13, -23.20) |
| CIE-LCH | lch(39.24, 24.00, 284.80°) |
| OKLab | oklab(47.84% 0.0019 -0.0646) |
| OKLCH | oklch(47.84% 0.065 271.7) |
| XYZ | xyz(11.0774, 10.7989, 22.6155) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 2.89
Dusky Blue
#475F94
ΔE00 4.86
Twilight
#4E518B
ΔE00 4.91
Denim Blue
#3B5B92
ΔE00 6.24
Denim (survey)
#3B638C
ΔE00 8.23
Light Navy Blue
#2E5A88
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505B82 #827750
analogous
#507482 #505B82 #5E5082
triadic
#505B82 #82505B #5B8250
tetradic
#505B82 #825074 #827750 #50825E
square
#505B82 #825074 #827750 #50825E
split-complementary
#505B82 #825E50 #748250
monochromatic
#212636 #39405C #505B82 #6B78A4 #919ABB
Accessibility & contrast
On white
6.65
#505B82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#505B82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505B82
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505B82 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#416369
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #505b82; /* rgb */ color: rgb(80, 91, 130); /* oklch */ color: oklch(47.8% 0.065 271.7);
Tailwind
colors: {
custom: {
50: '#8389a6',
500: '#505b82',
950: '#000000',
},
}SCSS
$custom: #505b82; $custom-light: #8389a6; $custom-dark: #000000;
JSON
{
"hex": "#505b82",
"rgb": {
"r": 80,
"g": 91,
"b": 130
},
"hsl": {
"h": 226.8,
"s": 23.81,
"l": 41.176
},
"oklch": {
"l": 0.47837,
"c": 0.06466,
"h": 271.7
},
"luminance": 0.10799
}Semantic roles & 50–950 ramp
primary
#505B82
secondary
#A8A186
accent
#AD68C0
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B0F
muted
#7C7C7F