#503DC2#503DC2

#503DC2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.6% C 0.197 H 282.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#503DC2
RGBrgb(80, 61, 194)
HSLhsl(249, 52%, 50%)
HSVhsv(249, 69%, 76%)
CMYKcmyk(58.8%, 68.6%, 0%, 23.9%)
CIE-LABlab(35.86, 44.91, -66.89)
CIE-LCHlch(35.86, 80.57, 303.88°)
OKLaboklab(46.64% 0.0413 -0.1926)
OKLCHoklch(46.64% 0.197 282.1)
XYZxyz(14.7116, 8.9370, 51.9783)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DC2 #AFC23D
analogous
#3D6DC2 #503DC2 #923DC2
triadic
#503DC2 #C2503D #3DC250
tetradic
#503DC2 #C23D6D #AFC23D #3DC292
square
#503DC2 #C23D6D #AFC23D #3DC292
split-complementary
#503DC2 #C2923D #6DC23D
monochromatic
#2A2065 #3D2E93 #503DC2 #7A6CD1 #A49ADF

Accessibility & contrast

On white

7.53
#503DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#503DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DC2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DC2#FFFFFF#000000##FFFFFF
##503DC21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#02607B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #503dc2;
/* rgb */ color: rgb(80, 61, 194);
/* oklch */ color: oklch(46.6% 0.197 282.1);
Tailwind
colors: {
  custom: {
    50: '#8d74d6',
    500: '#503dc2',
    950: '#000000',
  },
}
SCSS
$custom: #503dc2;
$custom-light: #8d74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#503dc2",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 248.571,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.46636,
    "c": 0.19699,
    "h": 282.1
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#503DC2
secondary
#C3CB90
accent
#DC4CC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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