#506AA5#506AA5

#506AA5 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.1% C 0.098 H 265.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#506AA5
RGBrgb(80, 106, 165)
HSLhsl(222, 35%, 48%)
HSVhsv(222, 52%, 65%)
CMYKcmyk(51.5%, 35.8%, 0%, 35.3%)
CIE-LABlab(45.26, 7.65, -34.73)
CIE-LCHlch(45.26, 35.56, 282.42°)
OKLaboklab(53.06% -0.0083 -0.0979)
OKLCHoklch(53.06% 0.098 265.2)
XYZxyz(15.2516, 14.7291, 37.6293)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506AA5 #A58B50
analogous
#5094A5 #506AA5 #6050A5
triadic
#506AA5 #A5506A #6AA550
tetradic
#506AA5 #A55094 #A58B50 #50A560
square
#506AA5 #A55094 #A58B50 #50A560
split-complementary
#506AA5 #A56050 #94A550
monochromatic
#283553 #3C507C #506AA5 #768BBC #9FAED0

Accessibility & contrast

On white

5.32
#506AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#506AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506AA5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506AA5#FFFFFF#000000##FFFFFF
##506AA51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536FA7
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#297780
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #506aa5;
/* rgb */ color: rgb(80, 106, 165);
/* oklch */ color: oklch(53.1% 0.098 265.2);
Tailwind
colors: {
  custom: {
    50: '#8694c0',
    500: '#506aa5',
    950: '#000000',
  },
}
SCSS
$custom: #506aa5;
$custom-light: #8694c0;
$custom-dark: #000000;
JSON
{
  "hex": "#506aa5",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 165
  },
  "hsl": {
    "h": 221.647,
    "s": 34.694,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.0983,
    "h": 265.2
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#506AA5
secondary
#BDB193
accent
#A95DCB
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #506AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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