#505BDC#505BDC
#505BDC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.195 H 274.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #505BDC |
|---|---|
| RGB | rgb(80, 91, 220) |
| HSL | hsl(235, 67%, 59%) |
| HSV | hsv(235, 64%, 86%) |
| CMYK | cmyk(63.6%, 58.6%, 0%, 13.7%) |
| CIE-LAB | lab(44.74, 35.42, -67.42) |
| CIE-LCH | lch(44.74, 76.16, 297.72°) |
| OKLab | oklab(53.76% 0.014 -0.194) |
| OKLCH | oklch(53.76% 0.195 274.1) |
| XYZ | xyz(19.9633, 14.3532, 69.4147) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.32
Dark Periwinkle
#665FD1
ΔE00 3.69
Azul
#1D5DEC
ΔE00 4.50
Iris
#6258C4
ΔE00 4.53
Slate Blue
#6A5ACD
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BDC #DCD150
analogous
#50A1DC #505BDC #8B50DC
triadic
#505BDC #DC505B #5BDC50
tetradic
#505BDC #DC50A1 #DCD150 #50DC8B
square
#505BDC #DC50A1 #DCD150 #50DC8B
split-complementary
#505BDC #DC8B50 #A1DC50
monochromatic
#1E2794 #2834C7 #505BDC #838BE6 #B6BBF0
Accessibility & contrast
On white
5.42
#505BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#505BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BDC
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BDC | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505bdc; /* rgb */ color: rgb(80, 91, 220); /* oklch */ color: oklch(53.8% 0.195 274.1);
Tailwind
colors: {
custom: {
50: '#9089e8',
500: '#505bdc',
950: '#000000',
},
}SCSS
$custom: #505bdc; $custom-light: #9089e8; $custom-dark: #000000;
JSON
{
"hex": "#505bdc",
"rgb": {
"r": 80,
"g": 91,
"b": 220
},
"hsl": {
"h": 235.286,
"s": 66.667,
"l": 58.824
},
"oklch": {
"l": 0.53765,
"c": 0.19453,
"h": 274.1
},
"luminance": 0.14355
}Semantic roles & 50–950 ramp
primary
#505BDC
secondary
#DFDBA8
accent
#DC3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84