#505AB2#505AB2
#505AB2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.138 H 275.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #505AB2 |
|---|---|
| RGB | rgb(80, 90, 178) |
| HSL | hsl(234, 39%, 51%) |
| HSV | hsv(234, 55%, 70%) |
| CMYK | cmyk(55.1%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(41.58, 21.99, -48.23) |
| CIE-LCH | lch(41.58, 53.01, 294.51°) |
| OKLab | oklab(50.48% 0.0131 -0.1376) |
| OKLCH | oklch(50.48% 0.138 275.4) |
| XYZ | xyz(14.9977, 12.2311, 43.6814) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.62
Dusky Blue
#475F94
ΔE00 5.63
Warm Blue
#4B57DB
ΔE00 5.83
Dark Periwinkle
#665FD1
ΔE00 6.13
Slate Blue
#6A5ACD
ΔE00 6.38
Denim Blue
#3B5B92
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505AB2 #B2A850
analogous
#508BB2 #505AB2 #7750B2
triadic
#505AB2 #B2505A #5AB250
tetradic
#505AB2 #B2508B #B2A850 #50B277
square
#505AB2 #B2508B #B2A850 #50B277
split-complementary
#505AB2 #B27750 #8BB250
monochromatic
#292F5E #3C4489 #505AB2 #7A82C5 #A5AAD7
Accessibility & contrast
On white
6.09
#505AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#505AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505AB2
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505AB2 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#1E6E7D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #505ab2; /* rgb */ color: rgb(80, 90, 178); /* oklch */ color: oklch(50.5% 0.138 275.4);
Tailwind
colors: {
custom: {
50: '#8988c9',
500: '#505ab2',
950: '#000000',
},
}SCSS
$custom: #505ab2; $custom-light: #8988c9; $custom-dark: #000000;
JSON
{
"hex": "#505ab2",
"rgb": {
"r": 80,
"g": 90,
"b": 178
},
"hsl": {
"h": 233.878,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.50483,
"c": 0.13823,
"h": 275.4
},
"luminance": 0.12232
}Semantic roles & 50–950 ramp
primary
#505AB2
secondary
#C5C099
accent
#C359CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82