#503EB5#503EB5

#503EB5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.179 H 283.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#503EB5
RGBrgb(80, 62, 181)
HSLhsl(249, 49%, 48%)
HSVhsv(249, 66%, 71%)
CMYKcmyk(55.8%, 65.7%, 0%, 29%)
CIE-LABlab(34.98, 40.31, -60.69)
CIE-LCHlch(34.98, 72.85, 303.59°)
OKLaboklab(45.66% 0.0422 -0.1744)
OKLCHoklch(45.66% 0.179 283.6)
XYZxyz(13.3688, 8.4861, 44.6406)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EB5 #A3B53E
analogous
#3E67B5 #503EB5 #8C3EB5
triadic
#503EB5 #B5503E #3EB550
tetradic
#503EB5 #B53E67 #A3B53E #3EB58C
square
#503EB5 #B53E67 #A3B53E #3EB58C
split-complementary
#503EB5 #B58C3E #67B53E
monochromatic
#281F5A #3C2E87 #503EB5 #7566CA #9E93DA

Accessibility & contrast

On white

7.79
#503EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#503EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EB5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EB5#FFFFFF#000000##FFFFFF
##503EB51.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503eb5;
/* rgb */ color: rgb(80, 62, 181);
/* oklch */ color: oklch(45.7% 0.179 283.6);
Tailwind
colors: {
  custom: {
    50: '#8b74cc',
    500: '#503eb5',
    950: '#000000',
  },
}
SCSS
$custom: #503eb5;
$custom-light: #8b74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#503eb5",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 249.076,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.17946,
    "h": 283.6
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#503EB5
secondary
#BCC589
accent
#D94FC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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