#503DC4#503DC4

#503DC4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.8% C 0.199 H 281.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#503DC4
RGBrgb(80, 61, 196)
HSLhsl(248, 53%, 50%)
HSVhsv(248, 69%, 77%)
CMYKcmyk(59.2%, 68.9%, 0%, 23.1%)
CIE-LABlab(36.04, 45.53, -67.77)
CIE-LCHlch(36.04, 81.65, 303.89°)
OKLaboklab(46.82% 0.0409 -0.1952)
OKLCHoklch(46.82% 0.199 281.8)
XYZxyz(14.9377, 9.0275, 53.1692)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DC4 #B1C43D
analogous
#3D6EC4 #503DC4 #933DC4
triadic
#503DC4 #C4503D #3DC450
tetradic
#503DC4 #C43D6E #B1C43D #3DC493
square
#503DC4 #C43D6E #B1C43D #3DC493
split-complementary
#503DC4 #C4933D #6EC43D
monochromatic
#291F67 #3C2E96 #503DC4 #7A6CD2 #A59BE1

Accessibility & contrast

On white

7.49
#503DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#503DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DC4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DC4#FFFFFF#000000##FFFFFF
##503DC41.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #503dc4;
/* rgb */ color: rgb(80, 61, 196);
/* oklch */ color: oklch(46.8% 0.199 281.8);
Tailwind
colors: {
  custom: {
    50: '#8d74d7',
    500: '#503dc4',
    950: '#000000',
  },
}
SCSS
$custom: #503dc4;
$custom-light: #8d74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#503dc4",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 248.444,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.19946,
    "h": 281.8
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#503DC4
secondary
#C4CD90
accent
#DD4BC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #503DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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