#506BCC#506BCC

#506BCC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.7% C 0.153 H 269.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#506BCC
RGBrgb(80, 107, 204)
HSLhsl(227, 55%, 56%)
HSVhsv(227, 61%, 80%)
CMYKcmyk(60.8%, 47.5%, 0%, 20%)
CIE-LABlab(47.73, 20.02, -53.45)
CIE-LCHlch(47.73, 57.08, 290.54°)
OKLaboklab(55.67% -0.002 -0.1528)
OKLCHoklch(55.67% 0.153 269.3)
XYZxyz(19.4614, 16.5789, 59.2895)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BCC #CCB150
analogous
#50A9CC #506BCC #7350CC
triadic
#506BCC #CC506B #6BCC50
tetradic
#506BCC #CC50A9 #CCB150 #50CC73
square
#506BCC #CC50A9 #CCB150 #50CC73
split-complementary
#506BCC #CC7350 #A9CC50
monochromatic
#24387D #324DAD #506BCC #7F93DA #AFBBE8

Accessibility & contrast

On white

4.87
#506BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#506BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BCC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BCC#FFFFFF#000000##FFFFFF
##506BCC1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B77D0
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#008192
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #506bcc;
/* rgb */ color: rgb(80, 107, 204);
/* oklch */ color: oklch(55.7% 0.153 269.3);
Tailwind
colors: {
  custom: {
    50: '#8c95dc',
    500: '#506bcc',
    950: '#000000',
  },
}
SCSS
$custom: #506bcc;
$custom-light: #8c95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#506bcc",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 204
  },
  "hsl": {
    "h": 226.935,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.15278,
    "h": 269.3
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #506BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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