#505AAA#505AAA
#505AAA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.127 H 275.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #505AAA |
|---|---|
| RGB | rgb(80, 90, 170) |
| HSL | hsl(233, 36%, 49%) |
| HSV | hsv(233, 53%, 67%) |
| CMYK | cmyk(52.9%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.09, 19.35, -44.30) |
| CIE-LCH | lch(41.09, 48.35, 293.60°) |
| OKLab | oklab(49.95% 0.0121 -0.1261) |
| OKLCH | oklch(49.95% 0.127 275.5) |
| XYZ | xyz(14.2178, 11.9192, 39.5738) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.78
Iris
#6258C4
ΔE00 5.53
Denim Blue
#3B5B92
ΔE00 5.90
Twilight
#4E518B
ΔE00 5.90
Warm Blue
#4B57DB
ΔE00 7.06
Dark Periwinkle
#665FD1
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505AAA #AAA050
analogous
#5087AA #505AAA #7350AA
triadic
#505AAA #AA505A #5AAA50
tetradic
#505AAA #AA5087 #AAA050 #50AA73
square
#505AAA #AA5087 #AAA050 #50AA73
split-complementary
#505AAA #AA7350 #87AA50
monochromatic
#292E57 #3C4480 #505AAA #7880BF #A1A7D3
Accessibility & contrast
On white
6.21
#505AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#505AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505AAA
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505AAA | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#2D5DA8
Tritanopia (blue-blind)
#286B7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #505aaa; /* rgb */ color: rgb(80, 90, 170); /* oklch */ color: oklch(50.0% 0.127 275.5);
Tailwind
colors: {
custom: {
50: '#8788c4',
500: '#505aaa',
950: '#000000',
},
}SCSS
$custom: #505aaa; $custom-light: #8788c4; $custom-dark: #000000;
JSON
{
"hex": "#505aaa",
"rgb": {
"r": 80,
"g": 90,
"b": 170
},
"hsl": {
"h": 233.333,
"s": 36,
"l": 49.02
},
"oklch": {
"l": 0.4995,
"c": 0.12666,
"h": 275.5
},
"luminance": 0.1192
}Semantic roles & 50–950 ramp
primary
#505AAA
secondary
#C0BB96
accent
#C05CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82