#503CB9#503CB9

#503CB9 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.7% C 0.187 H 283.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#503CB9
RGBrgb(80, 60, 185)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(56.8%, 67.6%, 0%, 27.5%)
CIE-LABlab(34.88, 42.71, -63.21)
CIE-LCHlch(34.88, 76.28, 304.04°)
OKLaboklab(45.69% 0.0435 -0.1818)
OKLCHoklch(45.69% 0.187 283.4)
XYZxyz(13.6784, 8.4391, 46.7977)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB9 #A5B93C
analogous
#3C66B9 #503CB9 #8E3CB9
triadic
#503CB9 #B9503C #3CB950
tetradic
#503CB9 #B93C66 #A5B93C #3CB98E
square
#503CB9 #B93C66 #A5B93C #3CB98E
split-complementary
#503CB9 #B98E3C #66B93C
monochromatic
#281E5D #3C2D8B #503CB9 #7665CD #9F93DC

Accessibility & contrast

On white

7.81
#503CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#503CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB9#FFFFFF#000000##FFFFFF
##503CB91.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#1A5C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503cb9;
/* rgb */ color: rgb(80, 60, 185);
/* oklch */ color: oklch(45.7% 0.187 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c73cf',
    500: '#503cb9',
    950: '#000000',
  },
}
SCSS
$custom: #503cb9;
$custom-light: #8c73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb9",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 249.6,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.18694,
    "h": 283.4
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#503CB9
secondary
#BDC789
accent
#DA4DC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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