#505CB8#505CB8
#505CB8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.144 H 274.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #505CB8 |
|---|---|
| RGB | rgb(80, 92, 184) |
| HSL | hsl(233, 42%, 52%) |
| HSV | hsv(233, 57%, 72%) |
| CMYK | cmyk(56.5%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(42.49, 22.72, -50.29) |
| CIE-LCH | lch(42.49, 55.18, 294.31°) |
| OKLab | oklab(51.29% 0.0115 -0.1436) |
| OKLCH | oklch(51.29% 0.144 274.6) |
| XYZ | xyz(15.7843, 12.8193, 46.9807) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.42
Warm Blue
#4B57DB
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CB8 #B8AC50
analogous
#5090B8 #505CB8 #7850B8
triadic
#505CB8 #B8505C #5CB850
tetradic
#505CB8 #B85090 #B8AC50 #50B878
square
#505CB8 #B85090 #B8AC50 #50B878
split-complementary
#505CB8 #B87850 #90B850
monochromatic
#293065 #3B4490 #505CB8 #7C85CA #A7ADDB
Accessibility & contrast
On white
5.89
#505CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#505CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CB8
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CB8 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D69BB
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#147181
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #505cb8; /* rgb */ color: rgb(80, 92, 184); /* oklch */ color: oklch(51.3% 0.144 274.6);
Tailwind
colors: {
custom: {
50: '#898ace',
500: '#505cb8',
950: '#000000',
},
}SCSS
$custom: #505cb8; $custom-light: #898ace; $custom-dark: #000000;
JSON
{
"hex": "#505cb8",
"rgb": {
"r": 80,
"g": 92,
"b": 184
},
"hsl": {
"h": 233.077,
"s": 42.276,
"l": 51.765
},
"oklch": {
"l": 0.51292,
"c": 0.1441,
"h": 274.6
},
"luminance": 0.1282
}Semantic roles & 50–950 ramp
primary
#505CB8
secondary
#C9C39B
accent
#C456D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82