#505FD1#505FD1
#505FD1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.175 H 273.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #505FD1 |
|---|---|
| RGB | rgb(80, 95, 209) |
| HSL | hsl(233, 58%, 57%) |
| HSV | hsv(233, 62%, 82%) |
| CMYK | cmyk(61.7%, 54.5%, 0%, 18%) |
| CIE-LAB | lab(44.93, 29.24, -60.82) |
| CIE-LCH | lch(44.93, 67.48, 295.68°) |
| OKLab | oklab(53.66% 0.0102 -0.1746) |
| OKLCH | oklch(53.66% 0.175 273.4) |
| XYZ | xyz(18.9053, 14.4918, 62.1102) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.80
Dark Periwinkle
#665FD1
ΔE00 3.77
Iris
#6258C4
ΔE00 4.58
Royal Blue
#4169E1
ΔE00 4.64
Azul
#1D5DEC
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505FD1 #D1C250
analogous
#50A0D1 #505FD1 #8250D1
triadic
#505FD1 #D1505F #5FD150
tetradic
#505FD1 #D150A0 #D1C250 #50D182
square
#505FD1 #D150A0 #D1C250 #50D182
split-complementary
#505FD1 #D18250 #A0D150
monochromatic
#232E84 #2F3FB4 #505FD1 #808BDE #B1B8EA
Accessibility & contrast
On white
5.39
#505FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#505FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505FD1
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505FD1 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0770D5
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505fd1; /* rgb */ color: rgb(80, 95, 209); /* oklch */ color: oklch(53.7% 0.175 273.4);
Tailwind
colors: {
custom: {
50: '#8d8ce0',
500: '#505fd1',
950: '#000000',
},
}SCSS
$custom: #505fd1; $custom-light: #8d8ce0; $custom-dark: #000000;
JSON
{
"hex": "#505fd1",
"rgb": {
"r": 80,
"g": 95,
"b": 209
},
"hsl": {
"h": 233.023,
"s": 58.371,
"l": 56.667
},
"oklch": {
"l": 0.5366,
"c": 0.17489,
"h": 273.4
},
"luminance": 0.14493
}Semantic roles & 50–950 ramp
primary
#505FD1
secondary
#D9D3A4
accent
#D046E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83