#506CD5#506CD5

#506CD5 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.164 H 269.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#506CD5
RGBrgb(80, 108, 213)
HSLhsl(227, 61%, 57%)
HSVhsv(227, 62%, 84%)
CMYKcmyk(62.4%, 49.3%, 0%, 16.5%)
CIE-LABlab(48.55, 22.47, -57.26)
CIE-LCHlch(48.55, 61.51, 291.43°)
OKLaboklab(56.48% -0.0019 -0.164)
OKLCHoklch(56.48% 0.164 269.3)
XYZxyz(20.6770, 17.2329, 65.1745)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD5 #D5B950
analogous
#50AFD5 #506CD5 #7650D5
triadic
#506CD5 #D5506C #6CD550
tetradic
#506CD5 #D550AF #D5B950 #50D576
square
#506CD5 #D550AF #D5B950 #50D576
split-complementary
#506CD5 #D57650 #AFD550
monochromatic
#21378A #2D4BBB #506CD5 #8195E1 #B3BFED

Accessibility & contrast

On white

4.72
#506CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#506CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506CD5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CD5#FFFFFF#000000##FFFFFF
##506CD51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347AD9
Deuteranopia (green-blind)
#146ED3
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506cd5;
/* rgb */ color: rgb(80, 108, 213);
/* oklch */ color: oklch(56.5% 0.164 269.3);
Tailwind
colors: {
  custom: {
    50: '#8d95e2',
    500: '#506cd5',
    950: '#000000',
  },
}
SCSS
$custom: #506cd5;
$custom-light: #8d95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd5",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 227.368,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.16396,
    "h": 269.3
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#506CD5
secondary
#DBD0A6
accent
#C343E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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