#506DD2#506DD2

#506DD2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.159 H 268.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#506DD2
RGBrgb(80, 109, 210)
HSLhsl(227, 59%, 57%)
HSVhsv(227, 62%, 82%)
CMYKcmyk(61.9%, 48.1%, 0%, 17.6%)
CIE-LABlab(48.63, 20.82, -55.42)
CIE-LCHlch(48.63, 59.21, 290.59°)
OKLaboklab(56.47% -0.0032 -0.1585)
OKLCHoklch(56.47% 0.159 268.8)
XYZxyz(20.4058, 17.2941, 63.2230)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DD2 #D2B550
analogous
#50AED2 #506DD2 #7450D2
triadic
#506DD2 #D2506D #6DD250
tetradic
#506DD2 #D250AE #D2B550 #50D274
square
#506DD2 #D250AE #D2B550 #50D274
split-complementary
#506DD2 #D27450 #AED250
monochromatic
#223885 #2F4DB6 #506DD2 #8196DF #B1BEEB

Accessibility & contrast

On white

4.71
#506DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#506DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506DD2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DD2#FFFFFF#000000##FFFFFF
##506DD21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506dd2;
/* rgb */ color: rgb(80, 109, 210);
/* oklch */ color: oklch(56.5% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#8d96e0',
    500: '#506dd2',
    950: '#000000',
  },
}
SCSS
$custom: #506dd2;
$custom-light: #8d96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#506dd2",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 210
  },
  "hsl": {
    "h": 226.615,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.15858,
    "h": 268.8
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#506DD2
secondary
#D9CEA4
accent
#BF46E2
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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