#505A9A#505A9A
#505A9A is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.9% C 0.103 H 275.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #505A9A |
|---|---|
| RGB | rgb(80, 90, 154) |
| HSL | hsl(232, 32%, 46%) |
| HSV | hsv(232, 48%, 60%) |
| CMYK | cmyk(48.1%, 41.6%, 0%, 39.6%) |
| CIE-LAB | lab(40.16, 14.17, -36.25) |
| CIE-LCH | lch(40.16, 38.92, 291.35°) |
| OKLab | oklab(48.95% 0.0094 -0.1025) |
| OKLCH | oklch(48.95% 0.103 275.2) |
| XYZ | xyz(12.7954, 11.3502, 32.0822) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.64
Twilight
#4E518B
ΔE00 3.82
Dusk
#4E5481
ΔE00 4.98
Denim Blue
#3B5B92
ΔE00 5.16
Iris
#6258C4
ΔE00 7.75
Dusk Blue
#26538D
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505A9A #9A9050
analogous
#507F9A #505A9A #6B509A
triadic
#505A9A #9A505A #5A9A50
tetradic
#505A9A #9A507F #9A9050 #509A6B
square
#505A9A #9A507F #9A9050 #509A6B
split-complementary
#505A9A #9A6B50 #7F9A50
monochromatic
#262B49 #3B4272 #505A9A #727BB6 #9AA0CA
Accessibility & contrast
On white
6.42
#505A9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#505A9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505A9A
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505A9A | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41629C
Deuteranopia (green-blind)
#3B5C99
Tritanopia (blue-blind)
#356772
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #505a9a; /* rgb */ color: rgb(80, 90, 154); /* oklch */ color: oklch(48.9% 0.103 275.2);
Tailwind
colors: {
custom: {
50: '#8588b8',
500: '#505a9a',
950: '#000000',
},
}SCSS
$custom: #505a9a; $custom-light: #8588b8; $custom-dark: #000000;
JSON
{
"hex": "#505a9a",
"rgb": {
"r": 80,
"g": 90,
"b": 154
},
"hsl": {
"h": 231.892,
"s": 31.624,
"l": 45.882
},
"oklch": {
"l": 0.48946,
"c": 0.10291,
"h": 275.2
},
"luminance": 0.11351
}Semantic roles & 50–950 ramp
primary
#505A9A
secondary
#B7B28F
accent
#BA60C8
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80