#503FAC#503FAC

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

Color values

HEX#503FAC
RGBrgb(80, 63, 172)
HSLhsl(249, 46%, 46%)
HSVhsv(249, 63%, 67%)
CMYKcmyk(53.5%, 63.4%, 0%, 32.5%)
CIE-LABlab(34.47, 36.91, -56.16)
CIE-LCHlch(34.47, 67.20, 303.31°)
OKLaboklab(45.07% 0.0421 -0.1611)
OKLCHoklch(45.07% 0.167 284.6)
XYZxyz(12.5299, 8.2384, 39.9517)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FAC #9BAC3F
analogous
#3F64AC #503FAC #863FAC
triadic
#503FAC #AC503F #3FAC50
tetradic
#503FAC #AC3F64 #9BAC3F #3FAC86
square
#503FAC #AC3F64 #9BAC3F #3FAC86
split-complementary
#503FAC #AC863F #64AC3F
monochromatic
#261E52 #3B2F7F #503FAC #7263C6 #9A8FD6

Accessibility & contrast

On white

7.93
#503FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#503FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FAC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FAC#FFFFFF#000000##FFFFFF
##503FAC1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#2A596F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503fac;
/* rgb */ color: rgb(80, 63, 172);
/* oklch */ color: oklch(45.1% 0.167 284.6);
Tailwind
colors: {
  custom: {
    50: '#8975c6',
    500: '#503fac',
    950: '#000000',
  },
}
SCSS
$custom: #503fac;
$custom-light: #8975c6;
$custom-dark: #000000;
JSON
{
  "hex": "#503fac",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 249.358,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.16652,
    "h": 284.6
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#503FAC
secondary
#B8C186
accent
#D652C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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