#505CA3#505CA3

#505CA3 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.9% C 0.114 H 274.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#505CA3
RGBrgb(80, 92, 163)
HSLhsl(231, 34%, 48%)
HSVhsv(231, 51%, 64%)
CMYKcmyk(50.9%, 43.6%, 0%, 36.1%)
CIE-LABlab(41.22, 15.80, -39.94)
CIE-LCHlch(41.22, 42.95, 291.58°)
OKLaboklab(49.92% 0.0086 -0.1133)
OKLCHoklch(49.92% 0.114 274.3)
XYZxyz(13.7442, 12.0033, 36.2359)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CA3 #A39750
analogous
#5086A3 #505CA3 #6D50A3
triadic
#505CA3 #A3505C #5CA350
tetradic
#505CA3 #A35086 #A39750 #50A36D
square
#505CA3 #A35086 #A39750 #50A36D
split-complementary
#505CA3 #A36D50 #86A350
monochromatic
#282E51 #3C457A #505CA3 #757FBB #9EA5CF

Accessibility & contrast

On white

6.18
#505CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#505CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CA3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CA3#FFFFFF#000000##FFFFFF
##505CA31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#2E6B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #505ca3;
/* rgb */ color: rgb(80, 92, 163);
/* oklch */ color: oklch(49.9% 0.114 274.3);
Tailwind
colors: {
  custom: {
    50: '#8689be',
    500: '#505ca3',
    950: '#000000',
  },
}
SCSS
$custom: #505ca3;
$custom-light: #8689be;
$custom-dark: #000000;
JSON
{
  "hex": "#505ca3",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 231.325,
    "s": 34.156,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.11359,
    "h": 274.3
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#505CA3
secondary
#BCB692
accent
#BB5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505CA3

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

Preview Lab → · Contrast checker → · Palette generator →

#505CA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva