#503DB3#503DB3

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

Color values

HEX#503DB3
RGBrgb(80, 61, 179)
HSLhsl(250, 49%, 47%)
HSVhsv(250, 66%, 70%)
CMYKcmyk(55.3%, 65.9%, 0%, 29.8%)
CIE-LABlab(34.59, 40.27, -60.13)
CIE-LCHlch(34.59, 72.37, 303.81°)
OKLaboklab(45.33% 0.0434 -0.1728)
OKLCHoklch(45.33% 0.178 284.1)
XYZxyz(13.1112, 8.2969, 43.5497)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DB3 #A0B33D
analogous
#3D65B3 #503DB3 #8B3DB3
triadic
#503DB3 #B3503D #3DB350
tetradic
#503DB3 #B33D65 #A0B33D #3DB38B
square
#503DB3 #B33D65 #A0B33D #3DB38B
split-complementary
#503DB3 #B38B3D #65B33D
monochromatic
#271E58 #3C2D85 #503DB3 #7463CA #9D91D9

Accessibility & contrast

On white

7.90
#503DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#503DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DB3
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DB3#FFFFFF#000000##FFFFFF
##503DB31.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#235B72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503db3;
/* rgb */ color: rgb(80, 61, 179);
/* oklch */ color: oklch(45.3% 0.178 284.1);
Tailwind
colors: {
  custom: {
    50: '#8b74cb',
    500: '#503db3',
    950: '#000000',
  },
}
SCSS
$custom: #503db3;
$custom-light: #8b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503db3",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 249.661,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.17814,
    "h": 284.1
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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