#505BBD#505BBD
#505BBD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.152 H 274.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #505BBD |
|---|---|
| RGB | rgb(80, 91, 189) |
| HSL | hsl(234, 45%, 53%) |
| HSV | hsv(234, 58%, 74%) |
| CMYK | cmyk(57.7%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(42.55, 25.02, -53.10) |
| CIE-LCH | lch(42.55, 58.70, 295.23°) |
| OKLab | oklab(51.44% 0.013 -0.1519) |
| OKLCH | oklch(51.44% 0.152 274.9) |
| XYZ | xyz(16.2317, 12.8606, 49.7612) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.90
Warm Blue
#4B57DB
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.45
Light Indigo
#6D5ACF
ΔE00 6.07
Dusky Blue
#475F94
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BBD #BDB250
analogous
#5091BD #505BBD #7B50BD
triadic
#505BBD #BD505B #5BBD50
tetradic
#505BBD #BD5091 #BDB250 #50BD7B
square
#505BBD #BD5091 #BDB250 #50BD7B
split-complementary
#505BBD #BD7B50 #91BD50
monochromatic
#282F6A #394297 #505BBD #7C85CE #A9AEDF
Accessibility & contrast
On white
5.88
#505BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#505BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BBD
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BBD | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#0B60BB
Tritanopia (blue-blind)
#067183
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #505bbd; /* rgb */ color: rgb(80, 91, 189); /* oklch */ color: oklch(51.4% 0.152 274.9);
Tailwind
colors: {
custom: {
50: '#8a89d1',
500: '#505bbd',
950: '#000000',
},
}SCSS
$custom: #505bbd; $custom-light: #8a89d1; $custom-dark: #000000;
JSON
{
"hex": "#505bbd",
"rgb": {
"r": 80,
"g": 91,
"b": 189
},
"hsl": {
"h": 233.945,
"s": 45.228,
"l": 52.745
},
"oklch": {
"l": 0.51444,
"c": 0.15248,
"h": 274.9
},
"luminance": 0.12862
}Semantic roles & 50–950 ramp
primary
#505BBD
secondary
#CCC79D
accent
#C853D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82