#503CB6#503CB6

#503CB6 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.183 H 283.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#503CB6
RGBrgb(80, 60, 182)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 67%, 71%)
CMYKcmyk(56%, 67%, 0%, 28.6%)
CIE-LABlab(34.63, 41.78, -61.85)
CIE-LCHlch(34.63, 74.64, 304.04°)
OKLaboklab(45.43% 0.0439 -0.1778)
OKLCHoklch(45.43% 0.183 283.9)
XYZxyz(13.3650, 8.3138, 45.1474)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB6 #A2B63C
analogous
#3C65B6 #503CB6 #8D3CB6
triadic
#503CB6 #B6503C #3CB650
tetradic
#503CB6 #B63C65 #A2B63C #3CB68D
square
#503CB6 #B63C65 #A2B63C #3CB68D
split-complementary
#503CB6 #B68D3C #65B63C
monochromatic
#281E5A #3C2D88 #503CB6 #7563CC #9E91DB

Accessibility & contrast

On white

7.89
#503CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#503CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB6
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB6#FFFFFF#000000##FFFFFF
##503CB61.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#1F5B74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503cb6;
/* rgb */ color: rgb(80, 60, 182);
/* oklch */ color: oklch(45.4% 0.183 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b73cd',
    500: '#503cb6',
    950: '#000000',
  },
}
SCSS
$custom: #503cb6;
$custom-light: #8b73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb6",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 249.836,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45431,
    "c": 0.18316,
    "h": 283.9
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#503CB6
secondary
#BCC688
accent
#DA4EC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503CB6

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

Preview Lab → · Contrast checker → · Palette generator →

#503CB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva