#505EA4#505EA4
#505EA4 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.4% C 0.112 H 273.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #505EA4 |
|---|---|
| RGB | rgb(80, 94, 164) |
| HSL | hsl(230, 34%, 48%) |
| HSV | hsv(230, 51%, 64%) |
| CMYK | cmyk(51.2%, 42.7%, 0%, 35.7%) |
| CIE-LAB | lab(41.83, 14.85, -39.57) |
| CIE-LCH | lch(41.83, 42.26, 290.58°) |
| OKLab | oklab(50.4% 0.0063 -0.1121) |
| OKLCH | oklch(50.4% 0.112 273.2) |
| XYZ | xyz(14.0097, 12.3903, 36.7681) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.35
Denim Blue
#3B5B92
ΔE00 5.00
Twilight
#4E518B
ΔE00 5.91
French Blue
#436BAD
ΔE00 6.52
Iris
#6258C4
ΔE00 6.92
Dusk
#4E5481
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505EA4 #A49650
analogous
#5088A4 #505EA4 #6C50A4
triadic
#505EA4 #A4505E #5EA450
tetradic
#505EA4 #A45088 #A49650 #50A46C
square
#505EA4 #A45088 #A49650 #50A46C
split-complementary
#505EA4 #A46C50 #88A450
monochromatic
#282F52 #3C467B #505EA4 #7581BC #9EA7D0
Accessibility & contrast
On white
6.04
#505EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#505EA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505EA4
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505EA4 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4266A7
Deuteranopia (green-blind)
#395FA2
Tritanopia (blue-blind)
#2D6D79
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #505ea4; /* rgb */ color: rgb(80, 94, 164); /* oklch */ color: oklch(50.4% 0.112 273.2);
Tailwind
colors: {
custom: {
50: '#868bbf',
500: '#505ea4',
950: '#000000',
},
}SCSS
$custom: #505ea4; $custom-light: #868bbf; $custom-dark: #000000;
JSON
{
"hex": "#505ea4",
"rgb": {
"r": 80,
"g": 94,
"b": 164
},
"hsl": {
"h": 230,
"s": 34.426,
"l": 47.843
},
"oklch": {
"l": 0.50403,
"c": 0.11233,
"h": 273.2
},
"luminance": 0.12391
}Semantic roles & 50–950 ramp
primary
#505EA4
secondary
#BDB693
accent
#B85DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81