#506FA2#506FA2

#506FA2 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.0% C 0.088 H 260.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#506FA2
RGBrgb(80, 111, 162)
HSLhsl(217, 34%, 47%)
HSVhsv(217, 51%, 64%)
CMYKcmyk(50.6%, 31.5%, 0%, 36.5%)
CIE-LABlab(46.55, 3.61, -30.94)
CIE-LCHlch(46.55, 31.15, 276.66°)
OKLaboklab(54.02% -0.0153 -0.0869)
OKLCHoklch(54.02% 0.088 260)
XYZxyz(15.5121, 15.6819, 36.3849)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FA2 #A28350
analogous
#5098A2 #506FA2 #5A50A2
triadic
#506FA2 #A2506F #6FA250
tetradic
#506FA2 #A25098 #A28350 #50A25A
square
#506FA2 #A25098 #A28350 #50A25A
split-complementary
#506FA2 #A25A50 #98A250
monochromatic
#283750 #3C5379 #506FA2 #758FBB #9EB0CF

Accessibility & contrast

On white

5.08
#506FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#506FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506FA2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FA2#FFFFFF#000000##FFFFFF
##506FA21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A4
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#2B7A81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #506fa2;
/* rgb */ color: rgb(80, 111, 162);
/* oklch */ color: oklch(54.0% 0.088 260.0);
Tailwind
colors: {
  custom: {
    50: '#8698bd',
    500: '#506fa2',
    950: '#000000',
  },
}
SCSS
$custom: #506fa2;
$custom-light: #8698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#506fa2",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 217.317,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.08823,
    "h": 260
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#506FA2
secondary
#BCAC92
accent
#A15ECA
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #506FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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