#503CB8#503CB8

#503CB8 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.186 H 283.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#503CB8
RGBrgb(80, 60, 184)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 67%, 72%)
CMYKcmyk(56.5%, 67.4%, 0%, 27.8%)
CIE-LABlab(34.80, 42.40, -62.75)
CIE-LCHlch(34.80, 75.73, 304.04°)
OKLaboklab(45.61% 0.0436 -0.1805)
OKLCHoklch(45.61% 0.186 283.6)
XYZxyz(13.5732, 8.3971, 46.2437)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB8 #A4B83C
analogous
#3C66B8 #503CB8 #8E3CB8
triadic
#503CB8 #B8503C #3CB850
tetradic
#503CB8 #B83C66 #A4B83C #3CB88E
square
#503CB8 #B83C66 #A4B83C #3CB88E
split-complementary
#503CB8 #B88E3C #66B83C
monochromatic
#281E5C #3C2D8A #503CB8 #7565CD #9E93DC

Accessibility & contrast

On white

7.84
#503CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#503CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB8#FFFFFF#000000##FFFFFF
##503CB81.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#1C5C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503cb8;
/* rgb */ color: rgb(80, 60, 184);
/* oklch */ color: oklch(45.6% 0.186 283.6);
Tailwind
colors: {
  custom: {
    50: '#8c73ce',
    500: '#503cb8',
    950: '#000000',
  },
}
SCSS
$custom: #503cb8;
$custom-light: #8c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb8",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 249.677,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.18568,
    "h": 283.6
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#503CB8
secondary
#BDC789
accent
#DA4DC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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