#506CDE#506CDE
#506CDE is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.1% C 0.176 H 269.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #506CDE |
|---|---|
| RGB | rgb(80, 108, 222) |
| HSL | hsl(228, 68%, 59%) |
| HSV | hsv(228, 64%, 87%) |
| CMYK | cmyk(64%, 51.4%, 0%, 12.9%) |
| CIE-LAB | lab(49.13, 25.55, -61.42) |
| CIE-LCH | lch(49.13, 66.53, 292.59°) |
| OKLab | oklab(57.1% -0.001 -0.1762) |
| OKLCH | oklch(57.1% 0.176 269.7) |
| XYZ | xyz(21.8512, 17.7026, 71.3585) |
| Luminance | 0.1771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.68
Royal Blue
#4169E1
ΔE00 1.88
Bright Blue
#0165FC
ΔE00 4.86
Cerulean Blue
#056EEE
ΔE00 5.31
Azul
#1D5DEC
ΔE00 5.72
Deep Sky Blue
#0D75F8
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#506CDE #DEC250
analogous
#50B3DE #506CDE #7B50DE
triadic
#506CDE #DE506C #6CDE50
tetradic
#506CDE #DE50B3 #DEC250 #50DE7B
square
#506CDE #DE50B3 #DEC250 #50DE7B
split-complementary
#506CDE #DE7B50 #B3DE50
monochromatic
#1C3597 #2647CB #506CDE #8397E8 #B7C3F1
Accessibility & contrast
On white
4.62
#506CDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#506CDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #506CDE
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##506CDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##506CDE | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#277BE2
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #506cde; /* rgb */ color: rgb(80, 108, 222); /* oklch */ color: oklch(57.1% 0.176 269.7);
Tailwind
colors: {
custom: {
50: '#8f95e9',
500: '#506cde',
950: '#000000',
},
}SCSS
$custom: #506cde; $custom-light: #8f95e9; $custom-dark: #000000;
JSON
{
"hex": "#506cde",
"rgb": {
"r": 80,
"g": 108,
"b": 222
},
"hsl": {
"h": 228.169,
"s": 68.269,
"l": 59.216
},
"oklch": {
"l": 0.57102,
"c": 0.17622,
"h": 269.7
},
"luminance": 0.17705
}Semantic roles & 50–950 ramp
primary
#506CDE
secondary
#E1D6A9
accent
#C93DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84