#506CD4#506CD4

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

Color values

HEX#506CD4
RGBrgb(80, 108, 212)
HSLhsl(227, 61%, 57%)
HSVhsv(227, 62%, 83%)
CMYKcmyk(62.3%, 49.1%, 0%, 16.9%)
CIE-LABlab(48.49, 22.13, -56.79)
CIE-LCHlch(48.49, 60.95, 291.29°)
OKLaboklab(56.41% -0.002 -0.1626)
OKLCHoklch(56.41% 0.163 269.3)
XYZxyz(20.5505, 17.1823, 64.5081)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD4 #D4B850
analogous
#50AED4 #506CD4 #7650D4
triadic
#506CD4 #D4506C #6CD450
tetradic
#506CD4 #D450AE #D4B850 #50D476
square
#506CD4 #D450AE #D4B850 #50D476
split-complementary
#506CD4 #D47650 #AED450
monochromatic
#213788 #2E4BB9 #506CD4 #8195E0 #B2BFEC

Accessibility & contrast

On white

4.73
#506CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#506CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506CD4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CD4#FFFFFF#000000##FFFFFF
##506CD41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3579D8
Deuteranopia (green-blind)
#176ED2
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506cd4;
/* rgb */ color: rgb(80, 108, 212);
/* oklch */ color: oklch(56.4% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#8d95e2',
    500: '#506cd4',
    950: '#000000',
  },
}
SCSS
$custom: #506cd4;
$custom-light: #8d95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd4",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 227.273,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.16259,
    "h": 269.3
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#506CD4
secondary
#DBCFA5
accent
#C244E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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