#505CA4#505CA4
#505CA4 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.0% C 0.115 H 274.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #505CA4 |
|---|---|
| RGB | rgb(80, 92, 164) |
| HSL | hsl(231, 34%, 48%) |
| HSV | hsv(231, 51%, 64%) |
| CMYK | cmyk(51.2%, 43.9%, 0%, 35.7%) |
| CIE-LAB | lab(41.28, 16.12, -40.44) |
| CIE-LCH | lch(41.28, 43.54, 291.73°) |
| OKLab | oklab(49.98% 0.0087 -0.1147) |
| OKLCH | oklch(49.98% 0.115 274.4) |
| XYZ | xyz(13.8341, 12.0392, 36.7096) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.74
Denim Blue
#3B5B92
ΔE00 5.21
Twilight
#4E518B
ΔE00 5.45
Iris
#6258C4
ΔE00 6.59
Dusk
#4E5481
ΔE00 6.75
French Blue
#436BAD
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CA4 #A49850
analogous
#5086A4 #505CA4 #6E50A4
triadic
#505CA4 #A4505C #5CA450
tetradic
#505CA4 #A45086 #A49850 #50A46E
square
#505CA4 #A45086 #A49850 #50A46E
split-complementary
#505CA4 #A46E50 #86A450
monochromatic
#282E52 #3C457B #505CA4 #757FBC #9EA6D0
Accessibility & contrast
On white
6.16
#505CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#505CA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CA4
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CA4 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#2D6B78
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #505ca4; /* rgb */ color: rgb(80, 92, 164); /* oklch */ color: oklch(50.0% 0.115 274.4);
Tailwind
colors: {
custom: {
50: '#8789bf',
500: '#505ca4',
950: '#000000',
},
}SCSS
$custom: #505ca4; $custom-light: #8789bf; $custom-dark: #000000;
JSON
{
"hex": "#505ca4",
"rgb": {
"r": 80,
"g": 92,
"b": 164
},
"hsl": {
"h": 231.429,
"s": 34.426,
"l": 47.843
},
"oklch": {
"l": 0.49981,
"c": 0.11507,
"h": 274.4
},
"luminance": 0.1204
}Semantic roles & 50–950 ramp
primary
#505CA4
secondary
#BDB793
accent
#BB5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81