#503CB5#503CB5

#503CB5 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.182 H 284.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#503CB5
RGBrgb(80, 60, 181)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 67%, 71%)
CMYKcmyk(55.8%, 66.9%, 0%, 29%)
CIE-LABlab(34.54, 41.47, -61.39)
CIE-LCHlch(34.54, 74.09, 304.04°)
OKLaboklab(45.35% 0.044 -0.1765)
OKLCHoklch(45.35% 0.182 284)
XYZxyz(13.2621, 8.2726, 44.6050)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB5 #A1B53C
analogous
#3C65B5 #503CB5 #8C3CB5
triadic
#503CB5 #B5503C #3CB550
tetradic
#503CB5 #B53C65 #A1B53C #3CB58C
square
#503CB5 #B53C65 #A1B53C #3CB58C
split-complementary
#503CB5 #B58C3C #65B53C
monochromatic
#271E59 #3C2D87 #503CB5 #7463CB #9D91DB

Accessibility & contrast

On white

7.91
#503CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#503CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB5#FFFFFF#000000##FFFFFF
##503CB51.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#205B73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503cb5;
/* rgb */ color: rgb(80, 60, 181);
/* oklch */ color: oklch(45.3% 0.182 284.0);
Tailwind
colors: {
  custom: {
    50: '#8b73cc',
    500: '#503cb5',
    950: '#000000',
  },
}
SCSS
$custom: #503cb5;
$custom-light: #8b73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb5",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 249.917,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45345,
    "c": 0.18191,
    "h": 284
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#503CB5
secondary
#BBC687
accent
#DA4EC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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