#506BDC#506BDC

#506BDC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.8% C 0.175 H 269.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#506BDC
RGBrgb(80, 107, 220)
HSLhsl(228, 67%, 59%)
HSVhsv(228, 64%, 86%)
CMYKcmyk(63.6%, 51.4%, 0%, 13.7%)
CIE-LABlab(48.74, 25.49, -60.92)
CIE-LCHlch(48.74, 66.04, 292.71°)
OKLaboklab(56.77% -0.0002 -0.1747)
OKLCHoklch(56.77% 0.175 269.9)
XYZxyz(21.4799, 17.3863, 69.9202)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BDC #DCC150
analogous
#50B1DC #506BDC #7B50DC
triadic
#506BDC #DC506B #6BDC50
tetradic
#506BDC #DC50B1 #DCC150 #50DC7B
square
#506BDC #DC50B1 #DCC150 #50DC7B
split-complementary
#506BDC #DC7B50 #B1DC50
monochromatic
#1E3494 #2847C7 #506BDC #8396E6 #B6C1F0

Accessibility & contrast

On white

4.69
#506BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#506BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BDC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BDC#FFFFFF#000000##FFFFFF
##506BDC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#277AE0
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506bdc;
/* rgb */ color: rgb(80, 107, 220);
/* oklch */ color: oklch(56.8% 0.175 269.9);
Tailwind
colors: {
  custom: {
    50: '#8f95e8',
    500: '#506bdc',
    950: '#000000',
  },
}
SCSS
$custom: #506bdc;
$custom-light: #8f95e8;
$custom-dark: #000000;
JSON
{
  "hex": "#506bdc",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 220
  },
  "hsl": {
    "h": 228.429,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.17475,
    "h": 269.9
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#506BDC
secondary
#DFD5A8
accent
#C93EEA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506BDC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#506BDC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva