#503DB1#503DB1

#503DB1 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.2% C 0.176 H 284.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#503DB1
RGBrgb(80, 61, 177)
HSLhsl(250, 49%, 47%)
HSVhsv(250, 66%, 69%)
CMYKcmyk(54.8%, 65.5%, 0%, 30.6%)
CIE-LABlab(34.43, 39.65, -59.21)
CIE-LCHlch(34.43, 71.26, 303.81°)
OKLaboklab(45.16% 0.0436 -0.1701)
OKLCHoklch(45.16% 0.176 284.4)
XYZxyz(12.9104, 8.2165, 42.4921)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DB1 #9EB13D
analogous
#3D64B1 #503DB1 #8A3DB1
triadic
#503DB1 #B1503D #3DB150
tetradic
#503DB1 #B13D64 #9EB13D #3DB18A
square
#503DB1 #B13D64 #9EB13D #3DB18A
split-complementary
#503DB1 #B18A3D #64B13D
monochromatic
#271E56 #3B2D83 #503DB1 #7362C9 #9C90D9

Accessibility & contrast

On white

7.94
#503DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#503DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DB1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DB1#FFFFFF#000000##FFFFFF
##503DB11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#255A71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503db1;
/* rgb */ color: rgb(80, 61, 177);
/* oklch */ color: oklch(45.2% 0.176 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a74c9',
    500: '#503db1',
    950: '#000000',
  },
}
SCSS
$custom: #503db1;
$custom-light: #8a74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#503db1",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 249.828,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.17557,
    "h": 284.4
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#503DB1
secondary
#BAC486
accent
#D850C2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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