#503EB7#503EB7

#503EB7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.182 H 283.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#503EB7
RGBrgb(80, 62, 183)
HSLhsl(249, 49%, 48%)
HSVhsv(249, 66%, 72%)
CMYKcmyk(56.3%, 66.1%, 0%, 28.2%)
CIE-LABlab(35.14, 40.93, -61.60)
CIE-LCHlch(35.14, 73.96, 303.60°)
OKLaboklab(45.83% 0.0419 -0.1771)
OKLCHoklch(45.83% 0.182 283.3)
XYZxyz(13.5755, 8.5688, 45.7292)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EB7 #A5B73E
analogous
#3E68B7 #503EB7 #8D3EB7
triadic
#503EB7 #B7503E #3EB750
tetradic
#503EB7 #B73E68 #A5B73E #3EB78D
square
#503EB7 #B73E68 #A5B73E #3EB78D
split-complementary
#503EB7 #B78D3E #68B73E
monochromatic
#281F5C #3C2F89 #503EB7 #7667CB #9F94DB

Accessibility & contrast

On white

7.74
#503EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#503EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EB7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EB7#FFFFFF#000000##FFFFFF
##503EB71.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#1D5D75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503eb7;
/* rgb */ color: rgb(80, 62, 183);
/* oklch */ color: oklch(45.8% 0.182 283.3);
Tailwind
colors: {
  custom: {
    50: '#8b74ce',
    500: '#503eb7',
    950: '#000000',
  },
}
SCSS
$custom: #503eb7;
$custom-light: #8b74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503eb7",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 248.926,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.18201,
    "h": 283.3
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#503EB7
secondary
#BDC68A
accent
#D94FC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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