#506AA2#506AA2

#506AA2 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 52.9% C 0.094 H 264.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#506AA2
RGBrgb(80, 106, 162)
HSLhsl(221, 34%, 47%)
HSVhsv(221, 51%, 64%)
CMYKcmyk(50.6%, 34.6%, 0%, 36.5%)
CIE-LABlab(45.11, 6.68, -33.20)
CIE-LCHlch(45.11, 33.86, 281.38°)
OKLaboklab(52.9% -0.0091 -0.0935)
OKLCHoklch(52.9% 0.094 264.5)
XYZxyz(14.9817, 14.6212, 36.2081)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506AA2 #A28850
analogous
#5093A2 #506AA2 #5F50A2
triadic
#506AA2 #A2506A #6AA250
tetradic
#506AA2 #A25093 #A28850 #50A25F
square
#506AA2 #A25093 #A28850 #50A25F
split-complementary
#506AA2 #A25F50 #93A250
monochromatic
#283450 #3C4F79 #506AA2 #758BBB #9EADCF

Accessibility & contrast

On white

5.35
#506AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#506AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506AA2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506AA2#FFFFFF#000000##FFFFFF
##506AA21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#2C767E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #506aa2;
/* rgb */ color: rgb(80, 106, 162);
/* oklch */ color: oklch(52.9% 0.094 264.5);
Tailwind
colors: {
  custom: {
    50: '#8694be',
    500: '#506aa2',
    950: '#000000',
  },
}
SCSS
$custom: #506aa2;
$custom-light: #8694be;
$custom-dark: #000000;
JSON
{
  "hex": "#506aa2",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 220.976,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.09393,
    "h": 264.5
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#506AA2
secondary
#BCAF92
accent
#A85ECA
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #506AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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