#506DCC#506DCC

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

Color values

HEX#506DCC
RGBrgb(80, 109, 204)
HSLhsl(226, 55%, 56%)
HSVhsv(226, 61%, 80%)
CMYKcmyk(60.8%, 46.6%, 0%, 20%)
CIE-LABlab(48.26, 18.78, -52.59)
CIE-LCHlch(48.26, 55.84, 289.65°)
OKLaboklab(56.08% -0.004 -0.1502)
OKLCHoklch(56.08% 0.15 268.5)
XYZxyz(19.6723, 17.0007, 59.3598)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DCC #CCAF50
analogous
#50ABCC #506DCC #7150CC
triadic
#506DCC #CC506D #6DCC50
tetradic
#506DCC #CC50AB #CCAF50 #50CC71
square
#506DCC #CC50AB #CCAF50 #50CC71
split-complementary
#506DCC #CC7150 #ABCC50
monochromatic
#24397D #324FAD #506DCC #7F95DA #AFBCE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##506DCC#FFFFFF#000000##FFFFFF
##506DCC1.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)
#3F78D0
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #506dcc;
/* rgb */ color: rgb(80, 109, 204);
/* oklch */ color: oklch(56.1% 0.150 268.5);
Tailwind
colors: {
  custom: {
    50: '#8c96dc',
    500: '#506dcc',
    950: '#000000',
  },
}
SCSS
$custom: #506dcc;
$custom-light: #8c96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#506dcc",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 225.968,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.15026,
    "h": 268.5
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#506DCC
secondary
#D6CAA2
accent
#BB4ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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