#506DA2#506DA2

#506DA2 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.6% C 0.090 H 261.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#506DA2
RGBrgb(80, 109, 162)
HSLhsl(219, 34%, 47%)
HSVhsv(219, 51%, 64%)
CMYKcmyk(50.6%, 32.7%, 0%, 36.5%)
CIE-LABlab(45.98, 4.83, -31.84)
CIE-LCHlch(45.98, 32.21, 278.63°)
OKLaboklab(53.57% -0.0128 -0.0895)
OKLCHoklch(53.57% 0.09 261.9)
XYZxyz(15.2963, 15.2503, 36.3130)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DA2 #A28550
analogous
#5096A2 #506DA2 #5C50A2
triadic
#506DA2 #A2506D #6DA250
tetradic
#506DA2 #A25096 #A28550 #50A25C
square
#506DA2 #A25096 #A28550 #50A25C
split-complementary
#506DA2 #A25C50 #96A250
monochromatic
#283650 #3C5179 #506DA2 #758DBB #9EAFCF

Accessibility & contrast

On white

5.18
#506DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#506DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506DA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DA2#FFFFFF#000000##FFFFFF
##506DA21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#2B7880
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #506da2;
/* rgb */ color: rgb(80, 109, 162);
/* oklch */ color: oklch(53.6% 0.090 261.9);
Tailwind
colors: {
  custom: {
    50: '#8696be',
    500: '#506da2',
    950: '#000000',
  },
}
SCSS
$custom: #506da2;
$custom-light: #8696be;
$custom-dark: #000000;
JSON
{
  "hex": "#506da2",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 218.78,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.09045,
    "h": 261.9
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#506DA2
secondary
#BCAD92
accent
#A45ECA
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #506DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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