#505CA8#505CA8
#505CA8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.121 H 274.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #505CA8 |
|---|---|
| RGB | rgb(80, 92, 168) |
| HSL | hsl(232, 35%, 49%) |
| HSV | hsv(232, 52%, 66%) |
| CMYK | cmyk(52.4%, 45.2%, 0%, 34.1%) |
| CIE-LAB | lab(41.51, 17.43, -42.44) |
| CIE-LCH | lch(41.51, 45.88, 292.32°) |
| OKLab | oklab(50.23% 0.0094 -0.1206) |
| OKLCH | oklch(50.23% 0.121 274.5) |
| XYZ | xyz(14.2010, 12.1860, 38.6420) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.14
Denim Blue
#3B5B92
ΔE00 5.47
Twilight
#4E518B
ΔE00 5.95
Iris
#6258C4
ΔE00 6.07
French Blue
#436BAD
ΔE00 7.09
Dusk
#4E5481
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CA8 #A89C50
analogous
#5088A8 #505CA8 #7050A8
triadic
#505CA8 #A8505C #5CA850
tetradic
#505CA8 #A85088 #A89C50 #50A870
square
#505CA8 #A85088 #A89C50 #50A870
split-complementary
#505CA8 #A87050 #88A850
monochromatic
#292F55 #3C457F #505CA8 #7781BE #A0A7D2
Accessibility & contrast
On white
6.11
#505CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#505CA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CA8
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CA8 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C66AB
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#296C7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #505ca8; /* rgb */ color: rgb(80, 92, 168); /* oklch */ color: oklch(50.2% 0.121 274.5);
Tailwind
colors: {
custom: {
50: '#8789c2',
500: '#505ca8',
950: '#000000',
},
}SCSS
$custom: #505ca8; $custom-light: #8789c2; $custom-dark: #000000;
JSON
{
"hex": "#505ca8",
"rgb": {
"r": 80,
"g": 92,
"b": 168
},
"hsl": {
"h": 231.818,
"s": 35.484,
"l": 48.627
},
"oklch": {
"l": 0.50233,
"c": 0.12097,
"h": 274.5
},
"luminance": 0.12187
}Semantic roles & 50–950 ramp
primary
#505CA8
secondary
#BFB995
accent
#BC5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81