#505CAA#505CAA
#505CAA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.124 H 274.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #505CAA |
|---|---|
| RGB | rgb(80, 92, 170) |
| HSL | hsl(232, 36%, 49%) |
| HSV | hsv(232, 53%, 67%) |
| CMYK | cmyk(52.9%, 45.9%, 0%, 33.3%) |
| CIE-LAB | lab(41.63, 18.08, -43.44) |
| CIE-LCH | lch(41.63, 47.05, 292.60°) |
| OKLab | oklab(50.36% 0.0097 -0.1235) |
| OKLCH | oklch(50.36% 0.124 274.5) |
| XYZ | xyz(14.3888, 12.2611, 39.6308) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.35
Denim Blue
#3B5B92
ΔE00 5.62
Iris
#6258C4
ΔE00 5.83
Twilight
#4E518B
ΔE00 6.21
French Blue
#436BAD
ΔE00 7.07
Dark Periwinkle
#665FD1
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CAA #AA9E50
analogous
#5089AA #505CAA #7150AA
triadic
#505CAA #AA505C #5CAA50
tetradic
#505CAA #AA5089 #AA9E50 #50AA71
square
#505CAA #AA5089 #AA9E50 #50AA71
split-complementary
#505CAA #AA7150 #89AA50
monochromatic
#292F57 #3C4580 #505CAA #7881BF #A1A8D3
Accessibility & contrast
On white
6.08
#505CAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#505CAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CAA
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CAA | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#305FA8
Tritanopia (blue-blind)
#276D7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #505caa; /* rgb */ color: rgb(80, 92, 170); /* oklch */ color: oklch(50.4% 0.124 274.5);
Tailwind
colors: {
custom: {
50: '#8789c4',
500: '#505caa',
950: '#000000',
},
}SCSS
$custom: #505caa; $custom-light: #8789c4; $custom-dark: #000000;
JSON
{
"hex": "#505caa",
"rgb": {
"r": 80,
"g": 92,
"b": 170
},
"hsl": {
"h": 232,
"s": 36,
"l": 49.02
},
"oklch": {
"l": 0.50361,
"c": 0.1239,
"h": 274.5
},
"luminance": 0.12262
}Semantic roles & 50–950 ramp
primary
#505CAA
secondary
#C0BA96
accent
#BD5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81