#505DCF#505DCF
#505DCF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.175 H 273.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #505DCF |
|---|---|
| RGB | rgb(80, 93, 207) |
| HSL | hsl(234, 57%, 56%) |
| HSV | hsv(234, 61%, 81%) |
| CMYK | cmyk(61.4%, 55.1%, 0%, 18.8%) |
| CIE-LAB | lab(44.29, 29.81, -60.71) |
| CIE-LCH | lch(44.29, 67.63, 296.15°) |
| OKLab | oklab(53.14% 0.012 -0.1743) |
| OKLCH | oklch(53.14% 0.175 273.9) |
| XYZ | xyz(18.4814, 14.0377, 60.7550) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.41
Dark Periwinkle
#665FD1
ΔE00 3.72
Iris
#6258C4
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.82
Azul
#1D5DEC
ΔE00 4.96
Royal Blue
#4169E1
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505DCF #CFC250
analogous
#509DCF #505DCF #8350CF
triadic
#505DCF #CF505D #5DCF50
tetradic
#505DCF #CF509D #CFC250 #50CF83
square
#505DCF #CF509D #CFC250 #50CF83
split-complementary
#505DCF #CF8350 #9DCF50
monochromatic
#232D81 #313EB1 #505DCF #8089DC #B0B6E9
Accessibility & contrast
On white
5.51
#505DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#505DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505DCF
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505DCF | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #505dcf; /* rgb */ color: rgb(80, 93, 207); /* oklch */ color: oklch(53.1% 0.175 273.9);
Tailwind
colors: {
custom: {
50: '#8d8ade',
500: '#505dcf',
950: '#000000',
},
}SCSS
$custom: #505dcf; $custom-light: #8d8ade; $custom-dark: #000000;
JSON
{
"hex": "#505dcf",
"rgb": {
"r": 80,
"g": 93,
"b": 207
},
"hsl": {
"h": 233.858,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.53135,
"c": 0.17471,
"h": 273.9
},
"luminance": 0.14039
}Semantic roles & 50–950 ramp
primary
#505DCF
secondary
#D8D2A3
accent
#D148E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83