#506CA2#506CA2

#506CA2 is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.3% C 0.092 H 262.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#506CA2
RGBrgb(80, 108, 162)
HSLhsl(220, 34%, 47%)
HSVhsv(220, 51%, 64%)
CMYKcmyk(50.6%, 33.3%, 0%, 36.5%)
CIE-LABlab(45.69, 5.45, -32.30)
CIE-LCHlch(45.69, 32.75, 279.58°)
OKLaboklab(53.35% -0.0115 -0.0909)
OKLCHoklch(53.35% 0.092 262.8)
XYZxyz(15.1903, 15.0382, 36.2776)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506CA2 #A28650
analogous
#5095A2 #506CA2 #5D50A2
triadic
#506CA2 #A2506C #6CA250
tetradic
#506CA2 #A25095 #A28650 #50A25D
square
#506CA2 #A25095 #A28650 #50A25D
split-complementary
#506CA2 #A25D50 #95A250
monochromatic
#283550 #3C5179 #506CA2 #758CBB #9EAECF

Accessibility & contrast

On white

5.24
#506CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#506CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506CA2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506CA2#FFFFFF#000000##FFFFFF
##506CA21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#2B787F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #506ca2;
/* rgb */ color: rgb(80, 108, 162);
/* oklch */ color: oklch(53.3% 0.092 262.8);
Tailwind
colors: {
  custom: {
    50: '#8695be',
    500: '#506ca2',
    950: '#000000',
  },
}
SCSS
$custom: #506ca2;
$custom-light: #8695be;
$custom-dark: #000000;
JSON
{
  "hex": "#506ca2",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 219.512,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.09159,
    "h": 262.8
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #506CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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