#506BA2#506BA2

#506BA2 is a mid, moderate blue. Relative luminance 0.148; OKLCH L 53.1% C 0.093 H 263.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#506BA2
RGBrgb(80, 107, 162)
HSLhsl(220, 34%, 47%)
HSVhsv(220, 51%, 64%)
CMYKcmyk(50.6%, 34%, 0%, 36.5%)
CIE-LABlab(45.40, 6.06, -32.75)
CIE-LCHlch(45.40, 33.30, 280.49°)
OKLaboklab(53.12% -0.0103 -0.0922)
OKLCHoklch(53.12% 0.093 263.6)
XYZxyz(15.0854, 14.8285, 36.2427)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506BA2 #A28750
analogous
#5094A2 #506BA2 #5E50A2
triadic
#506BA2 #A2506B #6BA250
tetradic
#506BA2 #A25094 #A28750 #50A25E
square
#506BA2 #A25094 #A28750 #50A25E
split-complementary
#506BA2 #A25E50 #94A250
monochromatic
#283550 #3C5079 #506BA2 #758CBB #9EAECF

Accessibility & contrast

On white

5.30
#506BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#506BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506BA2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506BA2#FFFFFF#000000##FFFFFF
##506BA21.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A4
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#2C777F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #506ba2;
/* rgb */ color: rgb(80, 107, 162);
/* oklch */ color: oklch(53.1% 0.093 263.6);
Tailwind
colors: {
  custom: {
    50: '#8695be',
    500: '#506ba2',
    950: '#000000',
  },
}
SCSS
$custom: #506ba2;
$custom-light: #8695be;
$custom-dark: #000000;
JSON
{
  "hex": "#506ba2",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 220.244,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.09274,
    "h": 263.6
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#506BA2
secondary
#BCAE92
accent
#A65ECA
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #506BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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