#503EC4#503EC4

#503EC4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 47.0% C 0.198 H 281.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#503EC4
RGBrgb(80, 62, 196)
HSLhsl(248, 53%, 51%)
HSVhsv(248, 68%, 77%)
CMYKcmyk(59.2%, 68.4%, 0%, 23.1%)
CIE-LABlab(36.24, 44.96, -67.44)
CIE-LCHlch(36.24, 81.05, 303.69°)
OKLaboklab(46.96% 0.0401 -0.1942)
OKLCHoklch(46.96% 0.198 281.7)
XYZxyz(14.9916, 9.1352, 53.1871)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EC4 #B2C43E
analogous
#3E6FC4 #503EC4 #933EC4
triadic
#503EC4 #C4503E #3EC450
tetradic
#503EC4 #C43E6F #B2C43E #3EC493
square
#503EC4 #C43E6F #B2C43E #3EC493
split-complementary
#503EC4 #C4933E #6FC43E
monochromatic
#292068 #3C2E97 #503EC4 #7A6DD2 #A59CE1

Accessibility & contrast

On white

7.43
#503EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#503EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EC4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EC4#FFFFFF#000000##FFFFFF
##503EC41.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503ec4;
/* rgb */ color: rgb(80, 62, 196);
/* oklch */ color: oklch(47.0% 0.198 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d75d7',
    500: '#503ec4',
    950: '#000000',
  },
}
SCSS
$custom: #503ec4;
$custom-light: #8d75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#503ec4",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 248.06,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.19833,
    "h": 281.7
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#503EC4
secondary
#C5CD91
accent
#DD4BC9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #503EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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