#505CA6#505CA6
#505CA6 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.1% C 0.118 H 274.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #505CA6 |
|---|---|
| RGB | rgb(80, 92, 166) |
| HSL | hsl(232, 35%, 48%) |
| HSV | hsv(232, 52%, 65%) |
| CMYK | cmyk(51.8%, 44.6%, 0%, 34.9%) |
| CIE-LAB | lab(41.39, 16.77, -41.45) |
| CIE-LCH | lch(41.39, 44.71, 292.03°) |
| OKLab | oklab(50.11% 0.0091 -0.1177) |
| OKLCH | oklch(50.11% 0.118 274.4) |
| XYZ | xyz(14.0162, 12.1121, 37.6683) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.94
Denim Blue
#3B5B92
ΔE00 5.33
Twilight
#4E518B
ΔE00 5.70
Iris
#6258C4
ΔE00 6.33
Dusk
#4E5481
ΔE00 7.06
French Blue
#436BAD
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CA6 #A69A50
analogous
#5087A6 #505CA6 #6F50A6
triadic
#505CA6 #A6505C #5CA650
tetradic
#505CA6 #A65087 #A69A50 #50A66F
square
#505CA6 #A65087 #A69A50 #50A66F
split-complementary
#505CA6 #A66F50 #87A650
monochromatic
#282E53 #3C457D #505CA6 #7680BD #9FA6D1
Accessibility & contrast
On white
6.14
#505CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#505CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CA6
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CA6 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#2B6C79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #505ca6; /* rgb */ color: rgb(80, 92, 166); /* oklch */ color: oklch(50.1% 0.118 274.4);
Tailwind
colors: {
custom: {
50: '#8789c1',
500: '#505ca6',
950: '#000000',
},
}SCSS
$custom: #505ca6; $custom-light: #8789c1; $custom-dark: #000000;
JSON
{
"hex": "#505ca6",
"rgb": {
"r": 80,
"g": 92,
"b": 166
},
"hsl": {
"h": 231.628,
"s": 34.959,
"l": 48.235
},
"oklch": {
"l": 0.50106,
"c": 0.11803,
"h": 274.4
},
"luminance": 0.12113
}Semantic roles & 50–950 ramp
primary
#505CA6
secondary
#BEB894
accent
#BC5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81