#503ECA#503ECA

#503ECA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.206 H 281.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#503ECA
RGBrgb(80, 62, 202)
HSLhsl(248, 57%, 52%)
HSVhsv(248, 69%, 79%)
CMYKcmyk(60.4%, 69.3%, 0%, 20.8%)
CIE-LABlab(36.77, 46.82, -70.07)
CIE-LCHlch(36.77, 84.27, 303.75°)
OKLaboklab(47.5% 0.0392 -0.2019)
OKLCHoklch(47.5% 0.206 281)
XYZxyz(15.6882, 9.4139, 56.8560)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503ECA #B8CA3E
analogous
#3E72CA #503ECA #963ECA
triadic
#503ECA #CA503E #3ECA50
tetradic
#503ECA #CA3E72 #B8CA3E #3ECA96
square
#503ECA #CA3E72 #B8CA3E #3ECA96
split-complementary
#503ECA #CA963E #72CA3E
monochromatic
#291F6F #3B2C9F #503ECA #7C6ED7 #A79EE4

Accessibility & contrast

On white

7.28
#503ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#503ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503ECA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503ECA#FFFFFF#000000##FFFFFF
##503ECA1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #503eca;
/* rgb */ color: rgb(80, 62, 202);
/* oklch */ color: oklch(47.5% 0.206 281.0);
Tailwind
colors: {
  custom: {
    50: '#8e75db',
    500: '#503eca',
    950: '#000000',
  },
}
SCSS
$custom: #503eca;
$custom-light: #8e75db;
$custom-dark: #000000;
JSON
{
  "hex": "#503eca",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 247.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.20571,
    "h": 281
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#503ECA
secondary
#C9D193
accent
#E048CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #503ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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