#505CBD#505CBD
#505CBD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.151 H 274.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #505CBD |
|---|---|
| RGB | rgb(80, 92, 189) |
| HSL | hsl(233, 45%, 53%) |
| HSV | hsv(233, 58%, 74%) |
| CMYK | cmyk(57.7%, 51.3%, 0%, 25.9%) |
| CIE-LAB | lab(42.81, 24.39, -52.68) |
| CIE-LCH | lch(42.81, 58.06, 294.84°) |
| OKLab | oklab(51.64% 0.0119 -0.1507) |
| OKLCH | oklch(51.64% 0.151 274.5) |
| XYZ | xyz(16.3177, 13.0327, 49.7899) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.09
Warm Blue
#4B57DB
ΔE00 4.40
Dark Periwinkle
#665FD1
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.57
Light Indigo
#6D5ACF
ΔE00 6.18
Dusky Blue
#475F94
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CBD #BDB150
analogous
#5093BD #505CBD #7A50BD
triadic
#505CBD #BD505C #5CBD50
tetradic
#505CBD #BD5093 #BDB150 #50BD7A
square
#505CBD #BD5093 #BDB150 #50BD7A
split-complementary
#505CBD #BD7A50 #93BD50
monochromatic
#282F6A #394397 #505CBD #7C85CE #A9AFDF
Accessibility & contrast
On white
5.82
#505CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#505CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CBD
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CBD | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#1161BB
Tritanopia (blue-blind)
#057284
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #505cbd; /* rgb */ color: rgb(80, 92, 189); /* oklch */ color: oklch(51.6% 0.151 274.5);
Tailwind
colors: {
custom: {
50: '#8a8ad1',
500: '#505cbd',
950: '#000000',
},
}SCSS
$custom: #505cbd; $custom-light: #8a8ad1; $custom-dark: #000000;
JSON
{
"hex": "#505cbd",
"rgb": {
"r": 80,
"g": 92,
"b": 189
},
"hsl": {
"h": 233.394,
"s": 45.228,
"l": 52.745
},
"oklch": {
"l": 0.51639,
"c": 0.15116,
"h": 274.5
},
"luminance": 0.13034
}Semantic roles & 50–950 ramp
primary
#505CBD
secondary
#CCC79D
accent
#C753D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82