#503FAB#503FAB

#503FAB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.165 H 284.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#503FAB
RGBrgb(80, 63, 171)
HSLhsl(249, 46%, 46%)
HSVhsv(249, 63%, 67%)
CMYKcmyk(53.2%, 63.2%, 0%, 32.9%)
CIE-LABlab(34.40, 36.60, -55.69)
CIE-LCHlch(34.40, 66.64, 303.31°)
OKLaboklab(44.99% 0.0422 -0.1597)
OKLCHoklch(44.99% 0.165 284.8)
XYZxyz(12.4342, 8.2001, 39.4478)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FAB #9AAB3F
analogous
#3F64AB #503FAB #863FAB
triadic
#503FAB #AB503F #3FAB50
tetradic
#503FAB #AB3F64 #9AAB3F #3FAB86
square
#503FAB #AB3F64 #9AAB3F #3FAB86
split-complementary
#503FAB #AB863F #64AB3F
monochromatic
#261E52 #3B2F7E #503FAB #7262C5 #9A8FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##503FAB#FFFFFF#000000##FFFFFF
##503FAB1.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)
#0054AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#2B596F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503fab;
/* rgb */ color: rgb(80, 63, 171);
/* oklch */ color: oklch(45.0% 0.165 284.8);
Tailwind
colors: {
  custom: {
    50: '#8975c5',
    500: '#503fab',
    950: '#000000',
  },
}
SCSS
$custom: #503fab;
$custom-light: #8975c5;
$custom-dark: #000000;
JSON
{
  "hex": "#503fab",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 249.444,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44985,
    "c": 0.16521,
    "h": 284.8
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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