#505DC4#505DC4
#505DC4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.160 H 274.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #505DC4 |
|---|---|
| RGB | rgb(80, 93, 196) |
| HSL | hsl(233, 50%, 54%) |
| HSV | hsv(233, 59%, 77%) |
| CMYK | cmyk(59.2%, 52.6%, 0%, 23.1%) |
| CIE-LAB | lab(43.53, 26.11, -55.58) |
| CIE-LCH | lch(43.53, 61.41, 295.16°) |
| OKLab | oklab(52.33% 0.0114 -0.1592) |
| OKLCH | oklch(52.33% 0.16 274.1) |
| XYZ | xyz(17.1832, 13.5184, 53.9177) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.62
Iris
#6258C4
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.82
Azul
#1D5DEC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505DC4 #C4B750
analogous
#5097C4 #505DC4 #7D50C4
triadic
#505DC4 #C4505D #5DC450
tetradic
#505DC4 #C45097 #C4B750 #50C47D
square
#505DC4 #C45097 #C4B750 #50C47D
split-complementary
#505DC4 #C47D50 #97C450
monochromatic
#272F73 #3642A1 #505DC4 #7E87D3 #ACB2E3
Accessibility & contrast
On white
5.67
#505DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#505DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505DC4
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505DC4 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505dc4; /* rgb */ color: rgb(80, 93, 196); /* oklch */ color: oklch(52.3% 0.160 274.1);
Tailwind
colors: {
custom: {
50: '#8b8ad6',
500: '#505dc4',
950: '#000000',
},
}SCSS
$custom: #505dc4; $custom-light: #8b8ad6; $custom-dark: #000000;
JSON
{
"hex": "#505dc4",
"rgb": {
"r": 80,
"g": 93,
"b": 196
},
"hsl": {
"h": 233.276,
"s": 49.573,
"l": 54.118
},
"oklch": {
"l": 0.52331,
"c": 0.15962,
"h": 274.1
},
"luminance": 0.1352
}Semantic roles & 50–950 ramp
primary
#505DC4
secondary
#D1CB9F
accent
#CA4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83