#505CAA#505CAA

#505CAA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.124 H 274.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#505CAA
RGBrgb(80, 92, 170)
HSLhsl(232, 36%, 49%)
HSVhsv(232, 53%, 67%)
CMYKcmyk(52.9%, 45.9%, 0%, 33.3%)
CIE-LABlab(41.63, 18.08, -43.44)
CIE-LCHlch(41.63, 47.05, 292.60°)
OKLaboklab(50.36% 0.0097 -0.1235)
OKLCHoklch(50.36% 0.124 274.5)
XYZxyz(14.3888, 12.2611, 39.6308)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CAA #AA9E50
analogous
#5089AA #505CAA #7150AA
triadic
#505CAA #AA505C #5CAA50
tetradic
#505CAA #AA5089 #AA9E50 #50AA71
square
#505CAA #AA5089 #AA9E50 #50AA71
split-complementary
#505CAA #AA7150 #89AA50
monochromatic
#292F57 #3C4580 #505CAA #7881BF #A1A8D3

Accessibility & contrast

On white

6.08
#505CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#505CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CAA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CAA#FFFFFF#000000##FFFFFF
##505CAA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#305FA8
Tritanopia (blue-blind)
#276D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505caa;
/* rgb */ color: rgb(80, 92, 170);
/* oklch */ color: oklch(50.4% 0.124 274.5);
Tailwind
colors: {
  custom: {
    50: '#8789c4',
    500: '#505caa',
    950: '#000000',
  },
}
SCSS
$custom: #505caa;
$custom-light: #8789c4;
$custom-dark: #000000;
JSON
{
  "hex": "#505caa",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 232,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.1239,
    "h": 274.5
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#505CAA
secondary
#C0BA96
accent
#BD5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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