#503FB5#503FB5

#503FB5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.178 H 283.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#503FB5
RGBrgb(80, 63, 181)
HSLhsl(249, 48%, 48%)
HSVhsv(249, 65%, 71%)
CMYKcmyk(55.8%, 65.2%, 0%, 29%)
CIE-LABlab(35.19, 39.72, -60.33)
CIE-LCHlch(35.19, 72.23, 303.36°)
OKLaboklab(45.82% 0.0412 -0.1734)
OKLCHoklch(45.82% 0.178 283.4)
XYZxyz(13.4237, 8.5959, 44.6589)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FB5 #A4B53F
analogous
#3F69B5 #503FB5 #8B3FB5
triadic
#503FB5 #B5503F #3FB550
tetradic
#503FB5 #B53F69 #A4B53F #3FB58B
square
#503FB5 #B53F69 #A4B53F #3FB58B
split-complementary
#503FB5 #B58B3F #69B53F
monochromatic
#281F5A #3C2F88 #503FB5 #7567CA #9E94DA

Accessibility & contrast

On white

7.72
#503FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#503FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FB5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FB5#FFFFFF#000000##FFFFFF
##503FB51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#205C74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503fb5;
/* rgb */ color: rgb(80, 63, 181);
/* oklch */ color: oklch(45.8% 0.178 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b75cc',
    500: '#503fb5',
    950: '#000000',
  },
}
SCSS
$custom: #503fb5;
$custom-light: #8b75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#503fb5",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 248.644,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.17822,
    "h": 283.4
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#503FB5
secondary
#BDC58A
accent
#D850C4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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