#506FA3#506FA3

#506FA3 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.1% C 0.090 H 260.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#506FA3
RGBrgb(80, 111, 163)
HSLhsl(218, 34%, 48%)
HSVhsv(218, 51%, 64%)
CMYKcmyk(50.9%, 31.9%, 0%, 36.1%)
CIE-LABlab(46.60, 3.93, -31.45)
CIE-LCHlch(46.60, 31.69, 277.12°)
OKLaboklab(54.07% -0.015 -0.0884)
OKLCHoklch(54.07% 0.09 260.4)
XYZxyz(15.6013, 15.7176, 36.8549)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506FA3 #A38450
analogous
#5098A3 #506FA3 #5A50A3
triadic
#506FA3 #A3506F #6FA350
tetradic
#506FA3 #A35098 #A38450 #50A35A
square
#506FA3 #A35098 #A38450 #50A35A
split-complementary
#506FA3 #A35A50 #98A350
monochromatic
#283751 #3C537A #506FA3 #758FBB #9EB0CF

Accessibility & contrast

On white

5.07
#506FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #506FA3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506FA3#FFFFFF#000000##FFFFFF
##506FA31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A5
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#2A7A82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #506fa3;
/* rgb */ color: rgb(80, 111, 163);
/* oklch */ color: oklch(54.1% 0.090 260.4);
Tailwind
colors: {
  custom: {
    50: '#8698be',
    500: '#506fa3',
    950: '#000000',
  },
}
SCSS
$custom: #506fa3;
$custom-light: #8698be;
$custom-dark: #000000;
JSON
{
  "hex": "#506fa3",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 163
  },
  "hsl": {
    "h": 217.59,
    "s": 34.156,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.08964,
    "h": 260.4
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#506FA3
secondary
#BCAD92
accent
#A25ECA
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #506FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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