#503EB2#503EB2

#503EB2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.176 H 284.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#503EB2
RGBrgb(80, 62, 178)
HSLhsl(249, 48%, 47%)
HSVhsv(249, 65%, 70%)
CMYKcmyk(55.1%, 65.2%, 0%, 30.2%)
CIE-LABlab(34.73, 39.37, -59.31)
CIE-LCHlch(34.73, 71.19, 303.58°)
OKLaboklab(45.4% 0.0425 -0.1704)
OKLCHoklch(45.4% 0.176 284)
XYZxyz(13.0643, 8.3643, 43.0369)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EB2 #A0B23E
analogous
#3E66B2 #503EB2 #8A3EB2
triadic
#503EB2 #B2503E #3EB250
tetradic
#503EB2 #B23E66 #A0B23E #3EB28A
square
#503EB2 #B23E66 #A0B23E #3EB28A
split-complementary
#503EB2 #B28A3E #66B23E
monochromatic
#271E57 #3C2E85 #503EB2 #7464C9 #9D92D9

Accessibility & contrast

On white

7.86
#503EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#503EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EB2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EB2#FFFFFF#000000##FFFFFF
##503EB21.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#245B72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503eb2;
/* rgb */ color: rgb(80, 62, 178);
/* oklch */ color: oklch(45.4% 0.176 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a74ca',
    500: '#503eb2',
    950: '#000000',
  },
}
SCSS
$custom: #503eb2;
$custom-light: #8a74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#503eb2",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 249.31,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.1756,
    "h": 284
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#503EB2
secondary
#BBC488
accent
#D850C3
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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