#505CA8#505CA8

#505CA8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.121 H 274.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#505CA8
RGBrgb(80, 92, 168)
HSLhsl(232, 35%, 49%)
HSVhsv(232, 52%, 66%)
CMYKcmyk(52.4%, 45.2%, 0%, 34.1%)
CIE-LABlab(41.51, 17.43, -42.44)
CIE-LCHlch(41.51, 45.88, 292.32°)
OKLaboklab(50.23% 0.0094 -0.1206)
OKLCHoklch(50.23% 0.121 274.5)
XYZxyz(14.2010, 12.1860, 38.6420)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505CA8 #A89C50
analogous
#5088A8 #505CA8 #7050A8
triadic
#505CA8 #A8505C #5CA850
tetradic
#505CA8 #A85088 #A89C50 #50A870
square
#505CA8 #A85088 #A89C50 #50A870
split-complementary
#505CA8 #A87050 #88A850
monochromatic
#292F55 #3C457F #505CA8 #7781BE #A0A7D2

Accessibility & contrast

On white

6.11
#505CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#505CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505CA8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505CA8#FFFFFF#000000##FFFFFF
##505CA81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AB
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#296C7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #505ca8;
/* rgb */ color: rgb(80, 92, 168);
/* oklch */ color: oklch(50.2% 0.121 274.5);
Tailwind
colors: {
  custom: {
    50: '#8789c2',
    500: '#505ca8',
    950: '#000000',
  },
}
SCSS
$custom: #505ca8;
$custom-light: #8789c2;
$custom-dark: #000000;
JSON
{
  "hex": "#505ca8",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 231.818,
    "s": 35.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50233,
    "c": 0.12097,
    "h": 274.5
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#505CA8
secondary
#BFB995
accent
#BC5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #505CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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