#506CD1#506CD1

#506CD1 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.158 H 269.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#506CD1
RGBrgb(80, 108, 209)
HSLhsl(227, 58%, 57%)
HSVhsv(227, 62%, 82%)
CMYKcmyk(61.7%, 48.3%, 0%, 18%)
CIE-LABlab(48.30, 21.10, -55.38)
CIE-LCHlch(48.30, 59.27, 290.86°)
OKLaboklab(56.21% -0.0023 -0.1584)
OKLCHoklch(56.21% 0.158 269.2)
XYZxyz(20.1756, 17.0323, 62.5336)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD1 #D1B550
analogous
#50ADD1 #506CD1 #7550D1
triadic
#506CD1 #D1506C #6CD150
tetradic
#506CD1 #D150AD #D1B550 #50D175
square
#506CD1 #D150AD #D1B550 #50D175
split-complementary
#506CD1 #D17550 #ADD150
monochromatic
#233884 #2F4CB4 #506CD1 #8095DE #B1BDEA

Accessibility & contrast

On white

4.77
#506CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#506CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506CD1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CD1#FFFFFF#000000##FFFFFF
##506CD11.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3879D5
Deuteranopia (green-blind)
#1E6DCF
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506cd1;
/* rgb */ color: rgb(80, 108, 209);
/* oklch */ color: oklch(56.2% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#8d95e0',
    500: '#506cd1',
    950: '#000000',
  },
}
SCSS
$custom: #506cd1;
$custom-light: #8d95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd1",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 226.977,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.15846,
    "h": 269.2
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#506CD1
secondary
#D9CDA4
accent
#C046E2
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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