#503EBA#503EBA

#503EBA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.1% C 0.186 H 282.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#503EBA
RGBrgb(80, 62, 186)
HSLhsl(249, 50%, 49%)
HSVhsv(249, 67%, 73%)
CMYKcmyk(57%, 66.7%, 0%, 27.1%)
CIE-LABlab(35.39, 41.86, -62.96)
CIE-LCHlch(35.39, 75.61, 303.62°)
OKLaboklab(46.09% 0.0416 -0.1811)
OKLCHoklch(46.09% 0.186 282.9)
XYZxyz(13.8911, 8.6950, 47.3912)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EBA #A8BA3E
analogous
#3E6ABA #503EBA #8E3EBA
triadic
#503EBA #BA503E #3EBA50
tetradic
#503EBA #BA3E6A #A8BA3E #3EBA8E
square
#503EBA #BA3E6A #A8BA3E #3EBA8E
split-complementary
#503EBA #BA8E3E #6ABA3E
monochromatic
#291F5E #3C2F8C #503EBA #7768CD #A096DC

Accessibility & contrast

On white

7.67
#503EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#503EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EBA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EBA#FFFFFF#000000##FFFFFF
##503EBA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#185E77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503eba;
/* rgb */ color: rgb(80, 62, 186);
/* oklch */ color: oklch(46.1% 0.186 282.9);
Tailwind
colors: {
  custom: {
    50: '#8c75d0',
    500: '#503eba',
    950: '#000000',
  },
}
SCSS
$custom: #503eba;
$custom-light: #8c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503eba",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 248.71,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46085,
    "c": 0.18582,
    "h": 282.9
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#503EBA
secondary
#BFC88C
accent
#DA4EC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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