#506BD5#506BD5

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

Color values

HEX#506BD5
RGBrgb(80, 107, 213)
HSLhsl(228, 61%, 57%)
HSVhsv(228, 62%, 84%)
CMYKcmyk(62.4%, 49.8%, 0%, 16.5%)
CIE-LABlab(48.29, 23.10, -57.68)
CIE-LCHlch(48.29, 62.13, 291.82°)
OKLaboklab(56.28% -0.0009 -0.1652)
OKLCHoklch(56.28% 0.165 269.7)
XYZxyz(20.5721, 17.0232, 65.1396)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BD5 #D5BA50
analogous
#50ADD5 #506BD5 #7850D5
triadic
#506BD5 #D5506B #6BD550
tetradic
#506BD5 #D550AD #D5BA50 #50D578
square
#506BD5 #D550AD #D5BA50 #50D578
split-complementary
#506BD5 #D57850 #ADD550
monochromatic
#21368A #2D4ABB #506BD5 #8195E1 #B3BEED

Accessibility & contrast

On white

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

On black

4.40
#506BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##506BD5#FFFFFF#000000##FFFFFF
##506BD51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3179D9
Deuteranopia (green-blind)
#0E6DD3
Tritanopia (blue-blind)
#008396
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506bd5;
/* rgb */ color: rgb(80, 107, 213);
/* oklch */ color: oklch(56.3% 0.165 269.7);
Tailwind
colors: {
  custom: {
    50: '#8d95e3',
    500: '#506bd5',
    950: '#000000',
  },
}
SCSS
$custom: #506bd5;
$custom-light: #8d95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#506bd5",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 213
  },
  "hsl": {
    "h": 227.82,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.16521,
    "h": 269.7
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#506BD5
secondary
#DBD0A6
accent
#C443E4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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