#505CAB#505CAB
#505CAB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.125 H 274.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #505CAB |
|---|---|
| RGB | rgb(80, 92, 171) |
| HSL | hsl(232, 36%, 49%) |
| HSV | hsv(232, 53%, 67%) |
| CMYK | cmyk(53.2%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(41.69, 18.41, -43.93) |
| CIE-LCH | lch(41.69, 47.64, 292.74°) |
| OKLab | oklab(50.43% 0.0099 -0.125) |
| OKLCH | oklch(50.43% 0.125 274.5) |
| XYZ | xyz(14.4837, 12.2991, 40.1309) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.46
Denim Blue
#3B5B92
ΔE00 5.70
Iris
#6258C4
ΔE00 5.71
Twilight
#4E518B
ΔE00 6.34
Dark Periwinkle
#665FD1
ΔE00 7.02
Warm Blue
#4B57DB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CAB #AB9F50
analogous
#508AAB #505CAB #7250AB
triadic
#505CAB #AB505C #5CAB50
tetradic
#505CAB #AB508A #AB9F50 #50AB72
square
#505CAB #AB508A #AB9F50 #50AB72
split-complementary
#505CAB #AB7250 #8AAB50
monochromatic
#292F58 #3C4681 #505CAB #7882C0 #A2A8D3
Accessibility & contrast
On white
6.07
#505CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#505CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CAB
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CAB | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3966AE
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#266D7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #505cab; /* rgb */ color: rgb(80, 92, 171); /* oklch */ color: oklch(50.4% 0.125 274.5);
Tailwind
colors: {
custom: {
50: '#8789c4',
500: '#505cab',
950: '#000000',
},
}SCSS
$custom: #505cab; $custom-light: #8789c4; $custom-dark: #000000;
JSON
{
"hex": "#505cab",
"rgb": {
"r": 80,
"g": 92,
"b": 171
},
"hsl": {
"h": 232.088,
"s": 36.255,
"l": 49.216
},
"oklch": {
"l": 0.50426,
"c": 0.12537,
"h": 274.5
},
"luminance": 0.123
}Semantic roles & 50–950 ramp
primary
#505CAB
secondary
#C1BB96
accent
#BD5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82