#505CB2#505CB2
#505CB2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.136 H 274.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #505CB2 |
|---|---|
| RGB | rgb(80, 92, 178) |
| HSL | hsl(233, 39%, 51%) |
| HSV | hsv(233, 55%, 70%) |
| CMYK | cmyk(55.1%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(42.11, 20.72, -47.38) |
| CIE-LCH | lch(42.11, 51.71, 293.63°) |
| OKLab | oklab(50.89% 0.0108 -0.1351) |
| OKLCH | oklch(50.89% 0.136 274.6) |
| XYZ | xyz(15.1687, 12.5731, 43.7384) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.95
Dusky Blue
#475F94
ΔE00 5.26
Warm Blue
#4B57DB
ΔE00 5.98
Dark Periwinkle
#665FD1
ΔE00 6.14
Denim Blue
#3B5B92
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CB2 #B2A650
analogous
#508DB2 #505CB2 #7550B2
triadic
#505CB2 #B2505C #5CB250
tetradic
#505CB2 #B2508D #B2A650 #50B275
square
#505CB2 #B2508D #B2A650 #50B275
split-complementary
#505CB2 #B27550 #8DB250
monochromatic
#29305E #3C4689 #505CB2 #7A84C5 #A5ABD7
Accessibility & contrast
On white
5.97
#505CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#505CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CB2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CB2 | 1.00 | 5.97 | 3.51 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#275FB0
Tritanopia (blue-blind)
#1E6F7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #505cb2; /* rgb */ color: rgb(80, 92, 178); /* oklch */ color: oklch(50.9% 0.136 274.6);
Tailwind
colors: {
custom: {
50: '#898ac9',
500: '#505cb2',
950: '#000000',
},
}SCSS
$custom: #505cb2; $custom-light: #898ac9; $custom-dark: #000000;
JSON
{
"hex": "#505cb2",
"rgb": {
"r": 80,
"g": 92,
"b": 178
},
"hsl": {
"h": 232.653,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.50886,
"c": 0.13551,
"h": 274.6
},
"luminance": 0.12574
}Semantic roles & 50–950 ramp
primary
#505CB2
secondary
#C5BF99
accent
#C059CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82