#505CA2#505CA2

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

Color values

HEX#505CA2
RGBrgb(80, 92, 162)
HSLhsl(231, 34%, 47%)
HSVhsv(231, 51%, 64%)
CMYKcmyk(50.6%, 43.2%, 0%, 36.5%)
CIE-LABlab(41.16, 15.47, -39.44)
CIE-LCHlch(41.16, 42.36, 291.42°)
OKLaboklab(49.86% 0.0084 -0.1118)
OKLCHoklch(49.86% 0.112 274.3)
XYZxyz(13.6549, 11.9676, 35.7659)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CA2 #A29650
analogous
#5085A2 #505CA2 #6D50A2
triadic
#505CA2 #A2505C #5CA250
tetradic
#505CA2 #A25085 #A29650 #50A26D
square
#505CA2 #A25085 #A29650 #50A26D
split-complementary
#505CA2 #A26D50 #85A250
monochromatic
#282D50 #3C4579 #505CA2 #757FBB #9EA5CF

Accessibility & contrast

On white

6.19
#505CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#505CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CA2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CA2#FFFFFF#000000##FFFFFF
##505CA21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#2F6B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #505ca2;
/* rgb */ color: rgb(80, 92, 162);
/* oklch */ color: oklch(49.9% 0.112 274.3);
Tailwind
colors: {
  custom: {
    50: '#8689be',
    500: '#505ca2',
    950: '#000000',
  },
}
SCSS
$custom: #505ca2;
$custom-light: #8689be;
$custom-dark: #000000;
JSON
{
  "hex": "#505ca2",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 231.22,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.1121,
    "h": 274.3
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #505CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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