#503DB0#503DB0

#503DB0 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.174 H 284.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#503DB0
RGBrgb(80, 61, 176)
HSLhsl(250, 49%, 46%)
HSVhsv(250, 65%, 69%)
CMYKcmyk(54.5%, 65.3%, 0%, 31%)
CIE-LABlab(34.35, 39.34, -58.74)
CIE-LCHlch(34.35, 70.70, 303.81°)
OKLaboklab(45.08% 0.0437 -0.1687)
OKLCHoklch(45.08% 0.174 284.5)
XYZxyz(12.8111, 8.1768, 41.9691)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DB0 #9DB03D
analogous
#3D64B0 #503DB0 #8A3DB0
triadic
#503DB0 #B0503D #3DB050
tetradic
#503DB0 #B03D64 #9DB03D #3DB08A
square
#503DB0 #B03D64 #9DB03D #3DB08A
split-complementary
#503DB0 #B08A3D #64B03D
monochromatic
#271D55 #3B2D83 #503DB0 #7362C8 #9B8FD8

Accessibility & contrast

On white

7.97
#503DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503DB0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DB0#FFFFFF#000000##FFFFFF
##503DB01.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#265A71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503db0;
/* rgb */ color: rgb(80, 61, 176);
/* oklch */ color: oklch(45.1% 0.174 284.5);
Tailwind
colors: {
  custom: {
    50: '#8a74c8',
    500: '#503db0',
    950: '#000000',
  },
}
SCSS
$custom: #503db0;
$custom-light: #8a74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503db0",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 249.913,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.17428,
    "h": 284.5
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#503DB0
secondary
#B9C386
accent
#D850C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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