#505CA2#505CA2
#505CA2 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.9% C 0.112 H 274.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #505CA2 |
|---|---|
| RGB | rgb(80, 92, 162) |
| HSL | hsl(231, 34%, 47%) |
| HSV | hsv(231, 51%, 64%) |
| CMYK | cmyk(50.6%, 43.2%, 0%, 36.5%) |
| CIE-LAB | lab(41.16, 15.47, -39.44) |
| CIE-LCH | lch(41.16, 42.36, 291.42°) |
| OKLab | oklab(49.86% 0.0084 -0.1118) |
| OKLCH | oklch(49.86% 0.112 274.3) |
| XYZ | xyz(13.6549, 11.9676, 35.7659) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.57
Denim Blue
#3B5B92
ΔE00 5.10
Twilight
#4E518B
ΔE00 5.21
Dusk
#4E5481
ΔE00 6.44
Iris
#6258C4
ΔE00 6.85
French Blue
#436BAD
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CA2 #A29650
analogous
#5085A2 #505CA2 #6D50A2
triadic
#505CA2 #A2505C #5CA250
tetradic
#505CA2 #A25085 #A29650 #50A26D
square
#505CA2 #A25085 #A29650 #50A26D
split-complementary
#505CA2 #A26D50 #85A250
monochromatic
#282D50 #3C4579 #505CA2 #757FBB #9EA5CF
Accessibility & contrast
On white
6.19
#505CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#505CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CA2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CA2 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#2F6B77
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #505ca2; /* rgb */ color: rgb(80, 92, 162); /* oklch */ color: oklch(49.9% 0.112 274.3);
Tailwind
colors: {
custom: {
50: '#8689be',
500: '#505ca2',
950: '#000000',
},
}SCSS
$custom: #505ca2; $custom-light: #8689be; $custom-dark: #000000;
JSON
{
"hex": "#505ca2",
"rgb": {
"r": 80,
"g": 92,
"b": 162
},
"hsl": {
"h": 231.22,
"s": 33.884,
"l": 47.451
},
"oklch": {
"l": 0.49857,
"c": 0.1121,
"h": 274.3
},
"luminance": 0.11968
}Semantic roles & 50–950 ramp
primary
#505CA2
secondary
#BCB692
accent
#BA5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81