#503FAE#503FAE

#503FAE is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.169 H 284.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#503FAE
RGBrgb(80, 63, 174)
HSLhsl(249, 47%, 46%)
HSVhsv(249, 64%, 68%)
CMYKcmyk(54%, 63.8%, 0%, 31.8%)
CIE-LABlab(34.63, 37.53, -57.09)
CIE-LCHlch(34.63, 68.33, 303.32°)
OKLaboklab(45.23% 0.0419 -0.1639)
OKLCHoklch(45.23% 0.169 284.4)
XYZxyz(12.7234, 8.3158, 40.9709)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FAE #9DAE3F
analogous
#3F66AE #503FAE #883FAE
triadic
#503FAE #AE503F #3FAE50
tetradic
#503FAE #AE3F66 #9DAE3F #3FAE88
square
#503FAE #AE3F66 #9DAE3F #3FAE88
split-complementary
#503FAE #AE883F #66AE3F
monochromatic
#271E54 #3B2F81 #503FAE #7364C7 #9B90D7

Accessibility & contrast

On white

7.89
#503FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#503FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FAE
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FAE#FFFFFF#000000##FFFFFF
##503FAE1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#285A70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503fae;
/* rgb */ color: rgb(80, 63, 174);
/* oklch */ color: oklch(45.2% 0.169 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a75c7',
    500: '#503fae',
    950: '#000000',
  },
}
SCSS
$custom: #503fae;
$custom-light: #8a75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#503fae",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 249.189,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.16914,
    "h": 284.4
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#503FAE
secondary
#B9C287
accent
#D651C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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