#503EBB#503EBB

#503EBB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.2% C 0.187 H 282.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#503EBB
RGBrgb(80, 62, 187)
HSLhsl(249, 50%, 49%)
HSVhsv(249, 67%, 73%)
CMYKcmyk(57.2%, 66.8%, 0%, 26.7%)
CIE-LABlab(35.47, 42.17, -63.42)
CIE-LCHlch(35.47, 76.16, 303.62°)
OKLaboklab(46.17% 0.0414 -0.1824)
OKLCHoklch(46.17% 0.187 282.8)
XYZxyz(13.9978, 8.7377, 47.9530)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EBB #A9BB3E
analogous
#3E6BBB #503EBB #8F3EBB
triadic
#503EBB #BB503E #3EBB50
tetradic
#503EBB #BB3E6B #A9BB3E #3EBB8F
square
#503EBB #BB3E6B #A9BB3E #3EBB8F
split-complementary
#503EBB #BB8F3E #6BBB3E
monochromatic
#29205F #3C2F8D #503EBB #7769CD #A197DC

Accessibility & contrast

On white

7.64
#503EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#503EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EBB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EBB#FFFFFF#000000##FFFFFF
##503EBB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#165E77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503ebb;
/* rgb */ color: rgb(80, 62, 187);
/* oklch */ color: oklch(46.2% 0.187 282.8);
Tailwind
colors: {
  custom: {
    50: '#8c75d0',
    500: '#503ebb',
    950: '#000000',
  },
}
SCSS
$custom: #503ebb;
$custom-light: #8c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503ebb",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 248.64,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.18707,
    "h": 282.8
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#503EBB
secondary
#C0C88D
accent
#DA4EC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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