#503FA7#503FA7

#503FA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.160 H 285.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#503FA7
RGBrgb(80, 63, 167)
HSLhsl(250, 45%, 45%)
HSVhsv(250, 62%, 65%)
CMYKcmyk(52.1%, 62.3%, 0%, 34.5%)
CIE-LABlab(34.09, 35.35, -53.80)
CIE-LCHlch(34.09, 64.37, 303.31°)
OKLaboklab(44.66% 0.0425 -0.1542)
OKLCHoklch(44.66% 0.16 285.4)
XYZxyz(12.0587, 8.0499, 37.4701)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA7 #96A73F
analogous
#3F62A7 #503FA7 #843FA7
triadic
#503FA7 #A7503F #3FA750
tetradic
#503FA7 #A73F62 #96A73F #3FA784
square
#503FA7 #A73F62 #96A73F #3FA784
split-complementary
#503FA7 #A7843F #62A73F
monochromatic
#251D4E #3B2E7B #503FA7 #7060C3 #988DD4

Accessibility & contrast

On white

8.05
#503FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#503FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA7#FFFFFF#000000##FFFFFF
##503FA71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#2E586D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503fa7;
/* rgb */ color: rgb(80, 63, 167);
/* oklch */ color: oklch(44.7% 0.160 285.4);
Tailwind
colors: {
  custom: {
    50: '#8975c2',
    500: '#503fa7',
    950: '#000000',
  },
}
SCSS
$custom: #503fa7;
$custom-light: #8975c2;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa7",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 249.808,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.15991,
    "h": 285.4
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#503FA7
secondary
#B5BF83
accent
#D553C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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