#506CDF#506CDF
#506CDF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.178 H 269.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #506CDF |
|---|---|
| RGB | rgb(80, 108, 223) |
| HSL | hsl(228, 69%, 59%) |
| HSV | hsv(228, 64%, 87%) |
| CMYK | cmyk(64.1%, 51.6%, 0%, 12.5%) |
| CIE-LAB | lab(49.20, 25.90, -61.88) |
| CIE-LCH | lch(49.20, 67.08, 292.71°) |
| OKLab | oklab(57.17% -0.0009 -0.1776) |
| OKLCH | oklch(57.17% 0.178 269.7) |
| XYZ | xyz(21.9856, 17.7563, 72.0664) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.75
Royal Blue
#4169E1
ΔE00 1.90
Bright Blue
#0165FC
ΔE00 4.81
Cerulean Blue
#056EEE
ΔE00 5.31
Azul
#1D5DEC
ΔE00 5.72
Deep Sky Blue
#0D75F8
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#506CDF #DFC350
analogous
#50B3DF #506CDF #7C50DF
triadic
#506CDF #DF506C #6CDF50
tetradic
#506CDF #DF50B3 #DFC350 #50DF7C
square
#506CDF #DF50B3 #DFC350 #50DF7C
split-complementary
#506CDF #DF7C50 #B3DF50
monochromatic
#1C3499 #2546CC #506CDF #8497E8 #B7C3F2
Accessibility & contrast
On white
4.61
#506CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#506CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #506CDF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##506CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##506CDF | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#257CE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #506cdf; /* rgb */ color: rgb(80, 108, 223); /* oklch */ color: oklch(57.2% 0.178 269.7);
Tailwind
colors: {
custom: {
50: '#8f95ea',
500: '#506cdf',
950: '#000000',
},
}SCSS
$custom: #506cdf; $custom-light: #8f95ea; $custom-dark: #000000;
JSON
{
"hex": "#506cdf",
"rgb": {
"r": 80,
"g": 108,
"b": 223
},
"hsl": {
"h": 228.252,
"s": 69.082,
"l": 59.412
},
"oklch": {
"l": 0.57173,
"c": 0.17757,
"h": 269.7
},
"luminance": 0.17758
}Semantic roles & 50–950 ramp
primary
#506CDF
secondary
#E1D6AA
accent
#C93CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84