#503FA6#503FA6

#503FA6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.159 H 285.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#503FA6
RGBrgb(80, 63, 166)
HSLhsl(250, 45%, 45%)
HSVhsv(250, 62%, 65%)
CMYKcmyk(51.8%, 62%, 0%, 34.9%)
CIE-LABlab(34.01, 35.04, -53.32)
CIE-LCHlch(34.01, 63.80, 303.31°)
OKLaboklab(44.58% 0.0425 -0.1528)
OKLCHoklch(44.58% 0.159 285.6)
XYZxyz(11.9667, 8.0131, 36.9851)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA6 #95A63F
analogous
#3F61A6 #503FA6 #843FA6
triadic
#503FA6 #A6503F #3FA650
tetradic
#503FA6 #A63F61 #95A63F #3FA684
square
#503FA6 #A63F61 #95A63F #3FA684
split-complementary
#503FA6 #A6843F #61A63F
monochromatic
#251D4D #3B2E7A #503FA6 #7060C3 #988CD3

Accessibility & contrast

On white

8.07
#503FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#503FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA6
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA6#FFFFFF#000000##FFFFFF
##503FA61.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#2F576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503fa6;
/* rgb */ color: rgb(80, 63, 166);
/* oklch */ color: oklch(44.6% 0.159 285.6);
Tailwind
colors: {
  custom: {
    50: '#8875c1',
    500: '#503fa6',
    950: '#000000',
  },
}
SCSS
$custom: #503fa6;
$custom-light: #8875c1;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa6",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 249.903,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44582,
    "c": 0.15859,
    "h": 285.6
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#503FA6
secondary
#B4BE83
accent
#D553BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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