#503EC2#503EC2

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

Color values

HEX#503EC2
RGBrgb(80, 62, 194)
HSLhsl(248, 52%, 50%)
HSVhsv(248, 68%, 76%)
CMYKcmyk(58.8%, 68%, 0%, 23.9%)
CIE-LABlab(36.07, 44.34, -66.55)
CIE-LCHlch(36.07, 79.97, 303.68°)
OKLaboklab(46.79% 0.0404 -0.1916)
OKLCHoklch(46.79% 0.196 281.9)
XYZxyz(14.7655, 9.0448, 51.9962)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EC2 #B0C23E
analogous
#3E6EC2 #503EC2 #923EC2
triadic
#503EC2 #C2503E #3EC250
tetradic
#503EC2 #C23E6E #B0C23E #3EC292
square
#503EC2 #C23E6E #B0C23E #3EC292
split-complementary
#503EC2 #C2923E #6EC23E
monochromatic
#2A2066 #3D2F94 #503EC2 #7A6DD1 #A49BDF

Accessibility & contrast

On white

7.48
#503EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503EC2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EC2#FFFFFF#000000##FFFFFF
##503EC21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503ec2;
/* rgb */ color: rgb(80, 62, 194);
/* oklch */ color: oklch(46.8% 0.196 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d75d6',
    500: '#503ec2',
    950: '#000000',
  },
}
SCSS
$custom: #503ec2;
$custom-light: #8d75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#503ec2",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 248.182,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.19585,
    "h": 281.9
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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