#503CD5#503CD5

#503CD5 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.2% C 0.221 H 280.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#503CD5
RGBrgb(80, 60, 213)
HSLhsl(248, 65%, 54%)
HSVhsv(248, 72%, 84%)
CMYKcmyk(62.4%, 71.8%, 0%, 16.5%)
CIE-LABlab(37.37, 51.28, -75.45)
CIE-LCHlch(37.37, 91.23, 304.20°)
OKLaboklab(48.23% 0.0386 -0.2177)
OKLCHoklch(48.23% 0.221 280.1)
XYZxyz(16.9306, 9.7400, 63.9257)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CD5 #C1D53C
analogous
#3C74D5 #503CD5 #9C3CD5
triadic
#503CD5 #D5503C #3CD550
tetradic
#503CD5 #D53C74 #C1D53C #3CD59C
square
#503CD5 #D53C74 #C1D53C #3CD59C
split-complementary
#503CD5 #D59C3C #74D53C
monochromatic
#271B7C #3726AE #503CD5 #7D6EE0 #AAA1EB

Accessibility & contrast

On white

7.12
#503CD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#503CD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CD5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CD5#FFFFFF#000000##FFFFFF
##503CD51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDA
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #503cd5;
/* rgb */ color: rgb(80, 60, 213);
/* oklch */ color: oklch(48.2% 0.221 280.1);
Tailwind
colors: {
  custom: {
    50: '#9174e3',
    500: '#503cd5',
    950: '#000000',
  },
}
SCSS
$custom: #503cd5;
$custom-light: #9174e3;
$custom-dark: #000000;
JSON
{
  "hex": "#503cd5",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 247.843,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.22107,
    "h": 280.1
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#503CD5
secondary
#CFD796
accent
#E840D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #503CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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