#506CD3#506CD3

#506CD3 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.161 H 269.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#506CD3
RGBrgb(80, 108, 211)
HSLhsl(227, 60%, 57%)
HSVhsv(227, 62%, 83%)
CMYKcmyk(62.1%, 48.8%, 0%, 17.3%)
CIE-LABlab(48.43, 21.79, -56.32)
CIE-LCHlch(48.43, 60.39, 291.15°)
OKLaboklab(56.34% -0.0021 -0.1612)
OKLCHoklch(56.34% 0.161 269.3)
XYZxyz(20.4247, 17.1320, 63.8458)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD3 #D3B750
analogous
#50ADD3 #506CD3 #7650D3
triadic
#506CD3 #D3506C #6CD350
tetradic
#506CD3 #D350AD #D3B750 #50D376
square
#506CD3 #D350AD #D3B750 #50D376
split-complementary
#506CD3 #D37650 #ADD350
monochromatic
#223787 #2E4CB8 #506CD3 #8195DF #B2BEEC

Accessibility & contrast

On white

4.74
#506CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#506CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506CD3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CD3#FFFFFF#000000##FFFFFF
##506CD31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3679D7
Deuteranopia (green-blind)
#1A6DD1
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506cd3;
/* rgb */ color: rgb(80, 108, 211);
/* oklch */ color: oklch(56.3% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#8d95e1',
    500: '#506cd3',
    950: '#000000',
  },
}
SCSS
$custom: #506cd3;
$custom-light: #8d95e1;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd3",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 227.176,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.16121,
    "h": 269.3
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#506CD3
secondary
#DACFA5
accent
#C145E3
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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