#505BCF#505BCF
#505BCF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.177 H 274.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #505BCF |
|---|---|
| RGB | rgb(80, 91, 207) |
| HSL | hsl(235, 57%, 56%) |
| HSV | hsv(235, 61%, 81%) |
| CMYK | cmyk(61.4%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(43.79, 31.06, -61.52) |
| CIE-LCH | lch(43.79, 68.92, 296.79°) |
| OKLab | oklab(52.76% 0.0139 -0.1767) |
| OKLCH | oklch(52.76% 0.177 274.5) |
| XYZ | xyz(18.3081, 13.6912, 60.6973) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.97
Dark Periwinkle
#665FD1
ΔE00 3.73
Iris
#6258C4
ΔE00 3.74
Slate Blue
#6A5ACD
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 5.10
Azul
#1D5DEC
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BCF #CFC450
analogous
#509BCF #505BCF #8550CF
triadic
#505BCF #CF505B #5BCF50
tetradic
#505BCF #CF509B #CFC450 #50CF85
square
#505BCF #CF509B #CFC450 #50CF85
split-complementary
#505BCF #CF8550 #9BCF50
monochromatic
#232C81 #313CB1 #505BCF #8088DC #B0B5E9
Accessibility & contrast
On white
5.62
#505BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#505BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BCF
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BCF | 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)
#006DD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505bcf; /* rgb */ color: rgb(80, 91, 207); /* oklch */ color: oklch(52.8% 0.177 274.5);
Tailwind
colors: {
custom: {
50: '#8d89de',
500: '#505bcf',
950: '#000000',
},
}SCSS
$custom: #505bcf; $custom-light: #8d89de; $custom-dark: #000000;
JSON
{
"hex": "#505bcf",
"rgb": {
"r": 80,
"g": 91,
"b": 207
},
"hsl": {
"h": 234.803,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.52761,
"c": 0.17725,
"h": 274.5
},
"luminance": 0.13693
}Semantic roles & 50–950 ramp
primary
#505BCF
secondary
#D8D3A3
accent
#D348E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83