#503FC2#503FC2

#503FC2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.9% C 0.195 H 281.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#503FC2
RGBrgb(80, 63, 194)
HSLhsl(248, 52%, 50%)
HSVhsv(248, 68%, 76%)
CMYKcmyk(58.8%, 67.5%, 0%, 23.9%)
CIE-LABlab(36.28, 43.77, -66.21)
CIE-LCHlch(36.28, 79.37, 303.47°)
OKLaboklab(46.94% 0.0396 -0.1906)
OKLCHoklch(46.94% 0.195 281.7)
XYZxyz(14.8203, 9.1545, 52.0145)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FC2 #B1C23F
analogous
#3F70C2 #503FC2 #913FC2
triadic
#503FC2 #C2503F #3FC250
tetradic
#503FC2 #C23F70 #B1C23F #3FC291
square
#503FC2 #C23F70 #B1C23F #3FC291
split-complementary
#503FC2 #C2913F #70C23F
monochromatic
#292066 #3C2F95 #503FC2 #7A6DD1 #A59CE0

Accessibility & contrast

On white

7.42
#503FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503FC2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FC2#FFFFFF#000000##FFFFFF
##503FC21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#02617B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #503fc2;
/* rgb */ color: rgb(80, 63, 194);
/* oklch */ color: oklch(46.9% 0.195 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d75d5',
    500: '#503fc2',
    950: '#000000',
  },
}
SCSS
$custom: #503fc2;
$custom-light: #8d75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#503fc2",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 247.786,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.19469,
    "h": 281.7
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#503FC2
secondary
#C4CC91
accent
#DB4DC9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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