#503CBA#503CBA

#503CBA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.8% C 0.188 H 283.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#503CBA
RGBrgb(80, 60, 186)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(57%, 67.7%, 0%, 27.1%)
CIE-LABlab(34.97, 43.01, -63.66)
CIE-LCHlch(34.97, 76.83, 304.05°)
OKLaboklab(45.78% 0.0433 -0.1831)
OKLCHoklch(45.78% 0.188 283.3)
XYZxyz(13.7843, 8.4815, 47.3556)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CBA #A6BA3C
analogous
#3C67BA #503CBA #8F3CBA
triadic
#503CBA #BA503C #3CBA50
tetradic
#503CBA #BA3C67 #A6BA3C #3CBA8F
square
#503CBA #BA3C67 #A6BA3C #3CBA8F
split-complementary
#503CBA #BA8F3C #67BA3C
monochromatic
#281E5D #3C2D8C #503CBA #7666CE #9F94DC

Accessibility & contrast

On white

7.79
#503CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#503CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CBA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CBA#FFFFFF#000000##FFFFFF
##503CBA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#195D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503cba;
/* rgb */ color: rgb(80, 60, 186);
/* oklch */ color: oklch(45.8% 0.188 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c73d0',
    500: '#503cba',
    950: '#000000',
  },
}
SCSS
$custom: #503cba;
$custom-light: #8c73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503cba",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 249.524,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.18819,
    "h": 283.3
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#503CBA
secondary
#BEC88A
accent
#DB4DC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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