#503EC5#503EC5

#503EC5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 47.1% C 0.200 H 281.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#503EC5
RGBrgb(80, 62, 197)
HSLhsl(248, 54%, 51%)
HSVhsv(248, 69%, 77%)
CMYKcmyk(59.4%, 68.5%, 0%, 22.7%)
CIE-LABlab(36.33, 45.27, -67.88)
CIE-LCHlch(36.33, 81.59, 303.70°)
OKLaboklab(47.05% 0.04 -0.1955)
OKLCHoklch(47.05% 0.2 281.6)
XYZxyz(15.1058, 9.1809, 53.7886)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EC5 #B3C53E
analogous
#3E6FC5 #503EC5 #933EC5
triadic
#503EC5 #C5503E #3EC550
tetradic
#503EC5 #C53E6F #B3C53E #3EC593
square
#503EC5 #C53E6F #B3C53E #3EC593
split-complementary
#503EC5 #C5933E #6FC53E
monochromatic
#292069 #3C2E98 #503EC5 #7B6DD3 #A59CE1

Accessibility & contrast

On white

7.40
#503EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#503EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EC5
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EC5#FFFFFF#000000##FFFFFF
##503EC51.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #503ec5;
/* rgb */ color: rgb(80, 62, 197);
/* oklch */ color: oklch(47.1% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#8e75d8',
    500: '#503ec5',
    950: '#000000',
  },
}
SCSS
$custom: #503ec5;
$custom-light: #8e75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#503ec5",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 248,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.19957,
    "h": 281.6
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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