#506CD8#506CD8

#506CD8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.168 H 269.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#506CD8
RGBrgb(80, 108, 216)
HSLhsl(228, 64%, 58%)
HSVhsv(228, 63%, 85%)
CMYKcmyk(63%, 50%, 0%, 15.3%)
CIE-LABlab(48.74, 23.50, -58.65)
CIE-LCHlch(48.74, 63.19, 291.83°)
OKLaboklab(56.68% -0.0016 -0.1681)
OKLCHoklch(56.68% 0.168 269.5)
XYZxyz(21.0613, 17.3866, 67.1985)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD8 #D8BC50
analogous
#50B0D8 #506CD8 #7850D8
triadic
#506CD8 #D8506C #6CD850
tetradic
#506CD8 #D850B0 #D8BC50 #50D878
square
#506CD8 #D850B0 #D8BC50 #50D878
split-complementary
#506CD8 #D87850 #B0D850
monochromatic
#20368E #2B4AC0 #506CD8 #8296E3 #B4C0EE

Accessibility & contrast

On white

4.69
#506CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#506CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506CD8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CD8#FFFFFF#000000##FFFFFF
##506CD81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#307ADC
Deuteranopia (green-blind)
#076ED6
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #506cd8;
/* rgb */ color: rgb(80, 108, 216);
/* oklch */ color: oklch(56.7% 0.168 269.5);
Tailwind
colors: {
  custom: {
    50: '#8e95e5',
    500: '#506cd8',
    950: '#000000',
  },
}
SCSS
$custom: #506cd8;
$custom-light: #8e95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd8",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 227.647,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.16807,
    "h": 269.5
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#506CD8
secondary
#DDD2A7
accent
#C541E7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #506CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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