#506BD3#506BD3

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

Color values

HEX#506BD3
RGBrgb(80, 107, 211)
HSLhsl(228, 60%, 57%)
HSVhsv(228, 62%, 83%)
CMYKcmyk(62.1%, 49.3%, 0%, 17.3%)
CIE-LABlab(48.16, 22.41, -56.74)
CIE-LCHlch(48.16, 61.01, 291.55°)
OKLaboklab(56.14% -0.0011 -0.1625)
OKLCHoklch(56.14% 0.162 269.6)
XYZxyz(20.3199, 16.9223, 63.8109)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BD3 #D3B850
analogous
#50ACD3 #506BD3 #7750D3
triadic
#506BD3 #D3506B #6BD350
tetradic
#506BD3 #D350AC #D3B850 #50D377
square
#506BD3 #D350AC #D3B850 #50D377
split-complementary
#506BD3 #D37750 #ACD350
monochromatic
#223787 #2E4BB8 #506BD3 #8194DF #B2BEEC

Accessibility & contrast

On white

4.79
#506BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#506BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BD3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BD3#FFFFFF#000000##FFFFFF
##506BD31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3378D7
Deuteranopia (green-blind)
#156DD1
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #506bd3;
/* rgb */ color: rgb(80, 107, 211);
/* oklch */ color: oklch(56.1% 0.162 269.6);
Tailwind
colors: {
  custom: {
    50: '#8d95e1',
    500: '#506bd3',
    950: '#000000',
  },
}
SCSS
$custom: #506bd3;
$custom-light: #8d95e1;
$custom-dark: #000000;
JSON
{
  "hex": "#506bd3",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 211
  },
  "hsl": {
    "h": 227.634,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.16246,
    "h": 269.6
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #506BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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