#503DB5#503DB5

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

Color values

HEX#503DB5
RGBrgb(80, 61, 181)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 66%, 71%)
CMYKcmyk(55.8%, 66.3%, 0%, 29%)
CIE-LABlab(34.76, 40.89, -61.04)
CIE-LCHlch(34.76, 73.47, 303.82°)
OKLaboklab(45.5% 0.0431 -0.1755)
OKLCHoklch(45.5% 0.181 283.8)
XYZxyz(13.3150, 8.3784, 44.6227)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DB5 #A2B53D
analogous
#3D66B5 #503DB5 #8C3DB5
triadic
#503DB5 #B5503D #3DB550
tetradic
#503DB5 #B53D66 #A2B53D #3DB58C
square
#503DB5 #B53D66 #A2B53D #3DB58C
split-complementary
#503DB5 #B58C3D #66B53D
monochromatic
#281E59 #3C2E87 #503DB5 #7564CB #9E92DA

Accessibility & contrast

On white

7.85
#503DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#503DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DB5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DB5#FFFFFF#000000##FFFFFF
##503DB51.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#205B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503db5;
/* rgb */ color: rgb(80, 61, 181);
/* oklch */ color: oklch(45.5% 0.181 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b74cc',
    500: '#503db5',
    950: '#000000',
  },
}
SCSS
$custom: #503db5;
$custom-light: #8b74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#503db5",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 249.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.455,
    "c": 0.18069,
    "h": 283.8
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#503DB5
secondary
#BCC588
accent
#D94FC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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