#506ACC#506ACC

#506ACC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.5% C 0.154 H 269.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#506ACC
RGBrgb(80, 106, 204)
HSLhsl(227, 55%, 56%)
HSVhsv(227, 61%, 80%)
CMYKcmyk(60.8%, 48%, 0%, 20%)
CIE-LABlab(47.46, 20.65, -53.88)
CIE-LCHlch(47.46, 57.70, 290.97°)
OKLaboklab(55.46% -0.001 -0.154)
OKLCHoklch(55.46% 0.154 269.6)
XYZxyz(19.3577, 16.3716, 59.2550)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506ACC #CCB250
analogous
#50A8CC #506ACC #7450CC
triadic
#506ACC #CC506A #6ACC50
tetradic
#506ACC #CC50A8 #CCB250 #50CC74
square
#506ACC #CC50A8 #CCB250 #50CC74
split-complementary
#506ACC #CC7450 #A8CC50
monochromatic
#24377D #324CAD #506ACC #7F92DA #AFBBE8

Accessibility & contrast

On white

4.91
#506ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#506ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506ACC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506ACC#FFFFFF#000000##FFFFFF
##506ACC1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #506acc;
/* rgb */ color: rgb(80, 106, 204);
/* oklch */ color: oklch(55.5% 0.154 269.6);
Tailwind
colors: {
  custom: {
    50: '#8c94dc',
    500: '#506acc',
    950: '#000000',
  },
}
SCSS
$custom: #506acc;
$custom-light: #8c94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#506acc",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 227.419,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.15404,
    "h": 269.6
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#506ACC
secondary
#D6CBA2
accent
#BF4ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #506ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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