#506CD6#506CD6

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

Color values

HEX#506CD6
RGBrgb(80, 108, 214)
HSLhsl(227, 62%, 58%)
HSVhsv(227, 63%, 84%)
CMYKcmyk(62.6%, 49.5%, 0%, 16.1%)
CIE-LABlab(48.62, 22.81, -57.72)
CIE-LCHlch(48.62, 62.07, 291.57°)
OKLaboklab(56.55% -0.0018 -0.1653)
OKLCHoklch(56.55% 0.165 269.4)
XYZxyz(20.8043, 17.2838, 65.8450)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CD6 #D6BA50
analogous
#50AFD6 #506CD6 #7750D6
triadic
#506CD6 #D6506C #6CD650
tetradic
#506CD6 #D650AF #D6BA50 #50D677
square
#506CD6 #D650AF #D6BA50 #50D677
split-complementary
#506CD6 #D67750 #AFD650
monochromatic
#21378B #2C4ABD #506CD6 #8296E2 #B3BFED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##506CD6#FFFFFF#000000##FFFFFF
##506CD61.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)
#327ADA
Deuteranopia (green-blind)
#106ED4
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506cd6;
/* rgb */ color: rgb(80, 108, 214);
/* oklch */ color: oklch(56.5% 0.165 269.4);
Tailwind
colors: {
  custom: {
    50: '#8e95e3',
    500: '#506cd6',
    950: '#000000',
  },
}
SCSS
$custom: #506cd6;
$custom-light: #8e95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#506cd6",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 227.463,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.16534,
    "h": 269.4
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#506CD6
secondary
#DCD1A6
accent
#C343E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #506CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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