#503FAF#503FAF

#503FAF is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.170 H 284.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#503FAF
RGBrgb(80, 63, 175)
HSLhsl(249, 47%, 47%)
HSVhsv(249, 64%, 69%)
CMYKcmyk(54.3%, 64%, 0%, 31.4%)
CIE-LABlab(34.71, 37.85, -57.56)
CIE-LCHlch(34.71, 68.89, 303.33°)
OKLaboklab(45.31% 0.0418 -0.1652)
OKLCHoklch(45.31% 0.17 284.2)
XYZxyz(12.8213, 8.3549, 41.4862)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FAF #9EAF3F
analogous
#3F66AF #503FAF #883FAF
triadic
#503FAF #AF503F #3FAF50
tetradic
#503FAF #AF3F66 #9EAF3F #3FAF88
square
#503FAF #AF3F66 #9EAF3F #3FAF88
split-complementary
#503FAF #AF883F #66AF3F
monochromatic
#271F55 #3B2F82 #503FAF #7364C7 #9C91D7

Accessibility & contrast

On white

7.86
#503FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#503FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FAF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FAF#FFFFFF#000000##FFFFFF
##503FAF1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#275A71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503faf;
/* rgb */ color: rgb(80, 63, 175);
/* oklch */ color: oklch(45.3% 0.170 284.2);
Tailwind
colors: {
  custom: {
    50: '#8a75c8',
    500: '#503faf',
    950: '#000000',
  },
}
SCSS
$custom: #503faf;
$custom-light: #8a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503faf",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 249.107,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.17045,
    "h": 284.2
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#503FAF
secondary
#BAC387
accent
#D751C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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