#505FC0#505FC0
#505FC0 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.151 H 273.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #505FC0 |
|---|---|
| RGB | rgb(80, 95, 192) |
| HSL | hsl(232, 47%, 53%) |
| HSV | hsv(232, 58%, 75%) |
| CMYK | cmyk(58.3%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(43.79, 23.50, -52.85) |
| CIE-LCH | lch(43.79, 57.84, 293.97°) |
| OKLab | oklab(52.44% 0.0091 -0.1511) |
| OKLCH | oklch(52.44% 0.151 273.4) |
| XYZ | xyz(16.9118, 13.6944, 51.6110) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.48
Iris
#6258C4
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.82
Royal Blue
#4169E1
ΔE00 5.88
Azul
#1D5DEC
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FC0 #C0B150
analogous
#5097C0 #505FC0 #7950C0
triadic
#505FC0 #C0505F #5FC050
tetradic
#505FC0 #C05097 #C0B150 #50C079
square
#505FC0 #C05097 #C0B150 #50C079
split-complementary
#505FC0 #C07950 #97C050
monochromatic
#28316E #38459B #505FC0 #7D88D0 #AAB1E0
Accessibility & contrast
On white
5.62
#505FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#505FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FC0
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FC0 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6DC3
Deuteranopia (green-blind)
#1663BE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505fc0; /* rgb */ color: rgb(80, 95, 192); /* oklch */ color: oklch(52.4% 0.151 273.4);
Tailwind
colors: {
custom: {
50: '#8b8cd4',
500: '#505fc0',
950: '#000000',
},
}SCSS
$custom: #505fc0; $custom-light: #8b8cd4; $custom-dark: #000000;
JSON
{
"hex": "#505fc0",
"rgb": {
"r": 80,
"g": 95,
"b": 192
},
"hsl": {
"h": 231.964,
"s": 47.059,
"l": 53.333
},
"oklch": {
"l": 0.5244,
"c": 0.15142,
"h": 273.4
},
"luminance": 0.13696
}Semantic roles & 50–950 ramp
primary
#505FC0
secondary
#CEC89E
accent
#C551D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83