#503EAE#503EAE

#503EAE is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.170 H 284.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#503EAE
RGBrgb(80, 62, 174)
HSLhsl(250, 47%, 46%)
HSVhsv(250, 64%, 68%)
CMYKcmyk(54%, 64.4%, 0%, 31.8%)
CIE-LABlab(34.41, 38.13, -57.46)
CIE-LCHlch(34.41, 68.96, 303.57°)
OKLaboklab(45.07% 0.0429 -0.1649)
OKLCHoklch(45.07% 0.17 284.6)
XYZxyz(12.6686, 8.2060, 40.9526)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EAE #9CAE3E
analogous
#3E64AE #503EAE #883EAE
triadic
#503EAE #AE503E #3EAE50
tetradic
#503EAE #AE3E64 #9CAE3E #3EAE88
square
#503EAE #AE3E64 #9CAE3E #3EAE88
split-complementary
#503EAE #AE883E #64AE3E
monochromatic
#271E54 #3B2E81 #503EAE #7262C7 #9B8FD7

Accessibility & contrast

On white

7.95
#503EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#503EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EAE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EAE#FFFFFF#000000##FFFFFF
##503EAE1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#285970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503eae;
/* rgb */ color: rgb(80, 62, 174);
/* oklch */ color: oklch(45.1% 0.170 284.6);
Tailwind
colors: {
  custom: {
    50: '#8a74c7',
    500: '#503eae',
    950: '#000000',
  },
}
SCSS
$custom: #503eae;
$custom-light: #8a74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#503eae",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 249.643,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.17042,
    "h": 284.6
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#503EAE
secondary
#B8C286
accent
#D751C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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