#505CA6#505CA6

#505CA6 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.1% C 0.118 H 274.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#505CA6
RGBrgb(80, 92, 166)
HSLhsl(232, 35%, 48%)
HSVhsv(232, 52%, 65%)
CMYKcmyk(51.8%, 44.6%, 0%, 34.9%)
CIE-LABlab(41.39, 16.77, -41.45)
CIE-LCHlch(41.39, 44.71, 292.03°)
OKLaboklab(50.11% 0.0091 -0.1177)
OKLCHoklch(50.11% 0.118 274.4)
XYZxyz(14.0162, 12.1121, 37.6683)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CA6 #A69A50
analogous
#5087A6 #505CA6 #6F50A6
triadic
#505CA6 #A6505C #5CA650
tetradic
#505CA6 #A65087 #A69A50 #50A66F
square
#505CA6 #A65087 #A69A50 #50A66F
split-complementary
#505CA6 #A66F50 #87A650
monochromatic
#282E53 #3C457D #505CA6 #7680BD #9FA6D1

Accessibility & contrast

On white

6.14
#505CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#505CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CA6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CA6#FFFFFF#000000##FFFFFF
##505CA61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#2B6C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505ca6;
/* rgb */ color: rgb(80, 92, 166);
/* oklch */ color: oklch(50.1% 0.118 274.4);
Tailwind
colors: {
  custom: {
    50: '#8789c1',
    500: '#505ca6',
    950: '#000000',
  },
}
SCSS
$custom: #505ca6;
$custom-light: #8789c1;
$custom-dark: #000000;
JSON
{
  "hex": "#505ca6",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 231.628,
    "s": 34.959,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.11803,
    "h": 274.4
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#505CA6
secondary
#BEB894
accent
#BC5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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