#505CA3#505CA3
#505CA3 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.9% C 0.114 H 274.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #505CA3 |
|---|---|
| RGB | rgb(80, 92, 163) |
| HSL | hsl(231, 34%, 48%) |
| HSV | hsv(231, 51%, 64%) |
| CMYK | cmyk(50.9%, 43.6%, 0%, 36.1%) |
| CIE-LAB | lab(41.22, 15.80, -39.94) |
| CIE-LCH | lch(41.22, 42.95, 291.58°) |
| OKLab | oklab(49.92% 0.0086 -0.1133) |
| OKLCH | oklch(49.92% 0.114 274.3) |
| XYZ | xyz(13.7442, 12.0033, 36.2359) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.65
Denim Blue
#3B5B92
ΔE00 5.15
Twilight
#4E518B
ΔE00 5.33
Dusk
#4E5481
ΔE00 6.60
Iris
#6258C4
ΔE00 6.72
French Blue
#436BAD
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CA3 #A39750
analogous
#5086A3 #505CA3 #6D50A3
triadic
#505CA3 #A3505C #5CA350
tetradic
#505CA3 #A35086 #A39750 #50A36D
square
#505CA3 #A35086 #A39750 #50A36D
split-complementary
#505CA3 #A36D50 #86A350
monochromatic
#282E51 #3C457A #505CA3 #757FBB #9EA5CF
Accessibility & contrast
On white
6.18
#505CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#505CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CA3
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CA3 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#2E6B77
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #505ca3; /* rgb */ color: rgb(80, 92, 163); /* oklch */ color: oklch(49.9% 0.114 274.3);
Tailwind
colors: {
custom: {
50: '#8689be',
500: '#505ca3',
950: '#000000',
},
}SCSS
$custom: #505ca3; $custom-light: #8689be; $custom-dark: #000000;
JSON
{
"hex": "#505ca3",
"rgb": {
"r": 80,
"g": 92,
"b": 163
},
"hsl": {
"h": 231.325,
"s": 34.156,
"l": 47.647
},
"oklch": {
"l": 0.49919,
"c": 0.11359,
"h": 274.3
},
"luminance": 0.12004
}Semantic roles & 50–950 ramp
primary
#505CA3
secondary
#BCB692
accent
#BB5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81