#506BDF#506BDF
#506BDF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.0% C 0.179 H 270.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #506BDF |
|---|---|
| RGB | rgb(80, 107, 223) |
| HSL | hsl(229, 69%, 59%) |
| HSV | hsv(229, 64%, 87%) |
| CMYK | cmyk(64.1%, 52%, 0%, 12.5%) |
| CIE-LAB | lab(48.94, 26.52, -62.30) |
| CIE-LCH | lch(48.94, 67.71, 293.06°) |
| OKLab | oklab(56.98% 0 -0.1788) |
| OKLCH | oklch(56.98% 0.179 270) |
| XYZ | xyz(21.8807, 17.5466, 72.0315) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.84
Cornflower Blue
#5170D7
ΔE00 2.06
Bright Blue
#0165FC
ΔE00 4.75
Cerulean Blue
#056EEE
ΔE00 5.48
Azul
#1D5DEC
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#506BDF #DFC450
analogous
#50B3DF #506BDF #7D50DF
triadic
#506BDF #DF506B #6BDF50
tetradic
#506BDF #DF50B3 #DFC450 #50DF7D
square
#506BDF #DF50B3 #DFC450 #50DF7D
split-complementary
#506BDF #DF7D50 #B3DF50
monochromatic
#1C3399 #2545CC #506BDF #8497E8 #B7C3F2
Accessibility & contrast
On white
4.66
#506BDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#506BDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #506BDF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##506BDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##506BDF | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #506bdf; /* rgb */ color: rgb(80, 107, 223); /* oklch */ color: oklch(57.0% 0.179 270.0);
Tailwind
colors: {
custom: {
50: '#8f95ea',
500: '#506bdf',
950: '#000000',
},
}SCSS
$custom: #506bdf; $custom-light: #8f95ea; $custom-dark: #000000;
JSON
{
"hex": "#506bdf",
"rgb": {
"r": 80,
"g": 107,
"b": 223
},
"hsl": {
"h": 228.671,
"s": 69.082,
"l": 59.412
},
"oklch": {
"l": 0.56979,
"c": 0.17881,
"h": 270
},
"luminance": 0.17549
}Semantic roles & 50–950 ramp
primary
#506BDF
secondary
#E1D7AA
accent
#CB3CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84