#503DB2#503DB2

#503DB2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.177 H 284.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#503DB2
RGBrgb(80, 61, 178)
HSLhsl(250, 49%, 47%)
HSVhsv(250, 66%, 70%)
CMYKcmyk(55.1%, 65.7%, 0%, 30.2%)
CIE-LABlab(34.51, 39.96, -59.67)
CIE-LCHlch(34.51, 71.81, 303.81°)
OKLaboklab(45.24% 0.0435 -0.1714)
OKLCHoklch(45.24% 0.177 284.2)
XYZxyz(13.0104, 8.2566, 43.0190)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DB2 #9FB23D
analogous
#3D64B2 #503DB2 #8B3DB2
triadic
#503DB2 #B2503D #3DB250
tetradic
#503DB2 #B23D64 #9FB23D #3DB28B
square
#503DB2 #B23D64 #9FB23D #3DB28B
split-complementary
#503DB2 #B28B3D #64B23D
monochromatic
#271E57 #3C2D84 #503DB2 #7363C9 #9C90D9

Accessibility & contrast

On white

7.92
#503DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503DB2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DB2#FFFFFF#000000##FFFFFF
##503DB21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#245A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503db2;
/* rgb */ color: rgb(80, 61, 178);
/* oklch */ color: oklch(45.2% 0.177 284.2);
Tailwind
colors: {
  custom: {
    50: '#8a74ca',
    500: '#503db2',
    950: '#000000',
  },
}
SCSS
$custom: #503db2;
$custom-light: #8a74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#503db2",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 249.744,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.17686,
    "h": 284.2
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#503DB2
secondary
#BAC487
accent
#D94FC2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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