#503BD6#503BD6

#503BD6 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.2% C 0.223 H 280.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#503BD6
RGBrgb(80, 59, 214)
HSLhsl(248, 65%, 54%)
HSVhsv(248, 72%, 84%)
CMYKcmyk(62.6%, 72.4%, 0%, 16.1%)
CIE-LABlab(37.27, 52.11, -76.18)
CIE-LCHlch(37.27, 92.30, 304.37°)
OKLaboklab(48.19% 0.0391 -0.2198)
OKLCHoklch(48.19% 0.223 280.1)
XYZxyz(17.0060, 9.6871, 64.5789)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BD6 #C1D63B
analogous
#3B73D6 #503BD6 #9D3BD6
triadic
#503BD6 #D6503B #3BD650
tetradic
#503BD6 #D63B73 #C1D63B #3BD69D
square
#503BD6 #D63B73 #C1D63B #3BD69D
split-complementary
#503BD6 #D69D3B #73D63B
monochromatic
#271A7D #3725AF #503BD6 #7D6EE1 #AAA0EB

Accessibility & contrast

On white

7.15
#503BD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#503BD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BD6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BD6#FFFFFF#000000##FFFFFF
##503BD61.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDB
Deuteranopia (green-blind)
#0052D3
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #503bd6;
/* rgb */ color: rgb(80, 59, 214);
/* oklch */ color: oklch(48.2% 0.223 280.1);
Tailwind
colors: {
  custom: {
    50: '#9174e4',
    500: '#503bd6',
    950: '#000000',
  },
}
SCSS
$custom: #503bd6;
$custom-light: #9174e4;
$custom-dark: #000000;
JSON
{
  "hex": "#503bd6",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 248.129,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48194,
    "c": 0.22327,
    "h": 280.1
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#503BD6
secondary
#CFD895
accent
#E83FD1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #503BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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