#503CB7#503CB7

#503CB7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.184 H 283.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#503CB7
RGBrgb(80, 60, 183)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 67%, 72%)
CMYKcmyk(56.3%, 67.2%, 0%, 28.2%)
CIE-LABlab(34.71, 42.09, -62.30)
CIE-LCHlch(34.71, 75.19, 304.04°)
OKLaboklab(45.52% 0.0438 -0.1792)
OKLCHoklch(45.52% 0.184 283.7)
XYZxyz(13.4688, 8.3553, 45.6936)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB7 #A3B73C
analogous
#3C66B7 #503CB7 #8D3CB7
triadic
#503CB7 #B7503C #3CB750
tetradic
#503CB7 #B73C66 #A3B73C #3CB78D
square
#503CB7 #B73C66 #A3B73C #3CB78D
split-complementary
#503CB7 #B78D3C #66B73C
monochromatic
#281E5B #3C2D89 #503CB7 #7564CC #9E92DB

Accessibility & contrast

On white

7.86
#503CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#503CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB7
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB7#FFFFFF#000000##FFFFFF
##503CB71.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#1D5B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503cb7;
/* rgb */ color: rgb(80, 60, 183);
/* oklch */ color: oklch(45.5% 0.184 283.7);
Tailwind
colors: {
  custom: {
    50: '#8b73ce',
    500: '#503cb7',
    950: '#000000',
  },
}
SCSS
$custom: #503cb7;
$custom-light: #8b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb7",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 249.756,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.18442,
    "h": 283.7
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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