#503EB4#503EB4

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

Color values

HEX#503EB4
RGBrgb(80, 62, 180)
HSLhsl(249, 49%, 47%)
HSVhsv(249, 66%, 71%)
CMYKcmyk(55.6%, 65.6%, 0%, 29.4%)
CIE-LABlab(34.89, 40.00, -60.23)
CIE-LCHlch(34.89, 72.30, 303.59°)
OKLaboklab(45.57% 0.0423 -0.1731)
OKLCHoklch(45.57% 0.178 283.7)
XYZxyz(13.2666, 8.4452, 44.1022)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EB4 #A2B43E
analogous
#3E67B4 #503EB4 #8B3EB4
triadic
#503EB4 #B4503E #3EB450
tetradic
#503EB4 #B43E67 #A2B43E #3EB48B
square
#503EB4 #B43E67 #A2B43E #3EB48B
split-complementary
#503EB4 #B48B3E #67B43E
monochromatic
#281F59 #3C2E86 #503EB4 #7565CA #9E93DA

Accessibility & contrast

On white

7.81
#503EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#503EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EB4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EB4#FFFFFF#000000##FFFFFF
##503EB41.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#215C73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503eb4;
/* rgb */ color: rgb(80, 62, 180);
/* oklch */ color: oklch(45.6% 0.178 283.7);
Tailwind
colors: {
  custom: {
    50: '#8b74cb',
    500: '#503eb4',
    950: '#000000',
  },
}
SCSS
$custom: #503eb4;
$custom-light: #8b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503eb4",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 249.153,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.17817,
    "h": 283.7
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#503EB4
secondary
#BCC589
accent
#D84FC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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