#506BD2#506BD2

#506BD2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.161 H 269.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#506BD2
RGBrgb(80, 107, 210)
HSLhsl(228, 59%, 57%)
HSVhsv(228, 62%, 82%)
CMYKcmyk(61.9%, 49%, 0%, 17.6%)
CIE-LABlab(48.10, 22.07, -56.28)
CIE-LCHlch(48.10, 60.45, 291.41°)
OKLaboklab(56.07% -0.0012 -0.1611)
OKLCHoklch(56.07% 0.161 269.6)
XYZxyz(20.1949, 16.8723, 63.1527)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BD2 #D2B750
analogous
#50ACD2 #506BD2 #7650D2
triadic
#506BD2 #D2506B #6BD250
tetradic
#506BD2 #D250AC #D2B750 #50D276
square
#506BD2 #D250AC #D2B750 #50D276
split-complementary
#506BD2 #D27650 #ACD250
monochromatic
#223785 #2F4BB6 #506BD2 #8194DF #B1BDEB

Accessibility & contrast

On white

4.80
#506BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#506BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BD2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BD2#FFFFFF#000000##FFFFFF
##506BD21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3478D6
Deuteranopia (green-blind)
#186DD0
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #506bd2;
/* rgb */ color: rgb(80, 107, 210);
/* oklch */ color: oklch(56.1% 0.161 269.6);
Tailwind
colors: {
  custom: {
    50: '#8d95e0',
    500: '#506bd2',
    950: '#000000',
  },
}
SCSS
$custom: #506bd2;
$custom-light: #8d95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#506bd2",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 227.538,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56071,
    "c": 0.16109,
    "h": 269.6
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #506BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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