#505BCD#505BCD
#505BCD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.175 H 274.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #505BCD |
|---|---|
| RGB | rgb(80, 91, 205) |
| HSL | hsl(235, 56%, 56%) |
| HSV | hsv(235, 61%, 80%) |
| CMYK | cmyk(61%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(43.65, 30.39, -60.60) |
| CIE-LCH | lch(43.65, 67.79, 296.63°) |
| OKLab | oklab(52.61% 0.0139 -0.174) |
| OKLCH | oklch(52.61% 0.175 274.6) |
| XYZ | xyz(18.0652, 13.5940, 59.4177) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.19
Iris
#6258C4
ΔE00 3.67
Dark Periwinkle
#665FD1
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 5.16
Azul
#1D5DEC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BCD #CDC250
analogous
#5099CD #505BCD #8350CD
triadic
#505BCD #CD505B #5BCD50
tetradic
#505BCD #CD5099 #CDC250 #50CD83
square
#505BCD #CD5099 #CDC250 #50CD83
split-complementary
#505BCD #CD8350 #99CD50
monochromatic
#242C7E #323DAE #505BCD #8088DB #AFB4E8
Accessibility & contrast
On white
5.65
#505BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#505BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BCD
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BCD | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505bcd; /* rgb */ color: rgb(80, 91, 205); /* oklch */ color: oklch(52.6% 0.175 274.6);
Tailwind
colors: {
custom: {
50: '#8d89dd',
500: '#505bcd',
950: '#000000',
},
}SCSS
$custom: #505bcd; $custom-light: #8d89dd; $custom-dark: #000000;
JSON
{
"hex": "#505bcd",
"rgb": {
"r": 80,
"g": 91,
"b": 205
},
"hsl": {
"h": 234.72,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.5261,
"c": 0.17454,
"h": 274.6
},
"luminance": 0.13595
}Semantic roles & 50–950 ramp
primary
#505BCD
secondary
#D6D2A2
accent
#D249DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83