#503DB4#503DB4

#503DB4 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.179 H 283.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#503DB4
RGBrgb(80, 61, 180)
HSLhsl(250, 49%, 47%)
HSVhsv(250, 66%, 71%)
CMYKcmyk(55.6%, 66.1%, 0%, 29.4%)
CIE-LABlab(34.68, 40.58, -60.59)
CIE-LCHlch(34.68, 72.92, 303.81°)
OKLaboklab(45.41% 0.0432 -0.1741)
OKLCHoklch(45.41% 0.179 283.9)
XYZxyz(13.2127, 8.3375, 44.0842)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DB4 #A1B43D
analogous
#3D65B4 #503DB4 #8C3DB4
triadic
#503DB4 #B4503D #3DB450
tetradic
#503DB4 #B43D65 #A1B43D #3DB48C
square
#503DB4 #B43D65 #A1B43D #3DB48C
split-complementary
#503DB4 #B48C3D #65B43D
monochromatic
#271E59 #3C2E86 #503DB4 #7464CA #9D92DA

Accessibility & contrast

On white

7.87
#503DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#503DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DB4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DB4#FFFFFF#000000##FFFFFF
##503DB41.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#215B73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503db4;
/* rgb */ color: rgb(80, 61, 180);
/* oklch */ color: oklch(45.4% 0.179 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b74cb',
    500: '#503db4',
    950: '#000000',
  },
}
SCSS
$custom: #503db4;
$custom-light: #8b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503db4",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 249.58,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.17941,
    "h": 283.9
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#503DB4
secondary
#BBC588
accent
#D94FC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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