#505CA9#505CA9
#505CA9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.122 H 274.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #505CA9 |
|---|---|
| RGB | rgb(80, 92, 169) |
| HSL | hsl(232, 36%, 49%) |
| HSV | hsv(232, 53%, 66%) |
| CMYK | cmyk(52.7%, 45.6%, 0%, 33.7%) |
| CIE-LAB | lab(41.57, 17.76, -42.94) |
| CIE-LCH | lch(41.57, 46.47, 292.46°) |
| OKLab | oklab(50.3% 0.0096 -0.1221) |
| OKLCH | oklch(50.3% 0.122 274.5) |
| XYZ | xyz(14.2946, 12.2234, 39.1345) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.25
Denim Blue
#3B5B92
ΔE00 5.55
Iris
#6258C4
ΔE00 5.95
Twilight
#4E518B
ΔE00 6.08
French Blue
#436BAD
ΔE00 7.08
Dark Periwinkle
#665FD1
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CA9 #A99D50
analogous
#5089A9 #505CA9 #7150A9
triadic
#505CA9 #A9505C #5CA950
tetradic
#505CA9 #A95089 #A99D50 #50A971
square
#505CA9 #A95089 #A99D50 #50A971
split-complementary
#505CA9 #A97150 #89A950
monochromatic
#292F56 #3C457F #505CA9 #7781BF #A1A8D2
Accessibility & contrast
On white
6.10
#505CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#505CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CA9
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CA9 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#315FA7
Tritanopia (blue-blind)
#286D7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #505ca9; /* rgb */ color: rgb(80, 92, 169); /* oklch */ color: oklch(50.3% 0.122 274.5);
Tailwind
colors: {
custom: {
50: '#8789c3',
500: '#505ca9',
950: '#000000',
},
}SCSS
$custom: #505ca9; $custom-light: #8789c3; $custom-dark: #000000;
JSON
{
"hex": "#505ca9",
"rgb": {
"r": 80,
"g": 92,
"b": 169
},
"hsl": {
"h": 231.91,
"s": 35.743,
"l": 48.824
},
"oklch": {
"l": 0.50297,
"c": 0.12243,
"h": 274.5
},
"luminance": 0.12224
}Semantic roles & 50–950 ramp
primary
#505CA9
secondary
#C0BA95
accent
#BD5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81