#503AC2#503AC2

#503AC2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.200 H 282.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#503AC2
RGBrgb(80, 58, 194)
HSLhsl(250, 54%, 49%)
HSVhsv(250, 70%, 76%)
CMYKcmyk(58.8%, 70.1%, 0%, 23.9%)
CIE-LABlab(35.25, 46.59, -67.89)
CIE-LCHlch(35.25, 82.34, 304.46°)
OKLaboklab(46.2% 0.0437 -0.1955)
OKLCHoklch(46.2% 0.2 282.6)
XYZxyz(14.5559, 8.6257, 51.9264)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AC2 #ACC23A
analogous
#3A68C2 #503AC2 #943AC2
triadic
#503AC2 #C2503A #3AC250
tetradic
#503AC2 #C23A68 #ACC23A #3AC294
square
#503AC2 #C23A68 #ACC23A #3AC294
split-complementary
#503AC2 #C2943A #68C23A
monochromatic
#291E64 #3D2C93 #503AC2 #7967D2 #A297E0

Accessibility & contrast

On white

7.71
#503AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#503AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AC2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AC2#FFFFFF#000000##FFFFFF
##503AC21.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#035E7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503ac2;
/* rgb */ color: rgb(80, 58, 194);
/* oklch */ color: oklch(46.2% 0.200 282.6);
Tailwind
colors: {
  custom: {
    50: '#8d72d6',
    500: '#503ac2',
    950: '#000000',
  },
}
SCSS
$custom: #503ac2;
$custom-light: #8d72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#503ac2",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 249.706,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.462,
    "c": 0.20036,
    "h": 282.6
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#503AC2
secondary
#C1CB8D
accent
#DD4AC6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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