#503CCC#503CCC

#503CCC is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.4% C 0.210 H 281.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#503CCC
RGBrgb(80, 60, 204)
HSLhsl(248, 59%, 52%)
HSVhsv(248, 71%, 80%)
CMYKcmyk(60.8%, 70.6%, 0%, 20%)
CIE-LABlab(36.55, 48.54, -71.60)
CIE-LCHlch(36.55, 86.50, 304.14°)
OKLaboklab(47.4% 0.0403 -0.2064)
OKLCHoklch(47.4% 0.21 281.1)
XYZxyz(15.8198, 9.2957, 58.0756)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CCC #B8CC3C
analogous
#3C70CC #503CCC #983CCC
triadic
#503CCC #CC503C #3CCC50
tetradic
#503CCC #CC3C70 #B8CC3C #3CCC98
square
#503CCC #CC3C70 #B8CC3C #3CCC98
split-complementary
#503CCC #CC983C #70CC3C
monochromatic
#291D70 #3B2AA1 #503CCC #7C6DD9 #A79DE5

Accessibility & contrast

On white

7.34
#503CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#503CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CCC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CCC#FFFFFF#000000##FFFFFF
##503CCC1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #503ccc;
/* rgb */ color: rgb(80, 60, 204);
/* oklch */ color: oklch(47.4% 0.210 281.1);
Tailwind
colors: {
  custom: {
    50: '#8f74dd',
    500: '#503ccc',
    950: '#000000',
  },
}
SCSS
$custom: #503ccc;
$custom-light: #8f74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#503ccc",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 248.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47397,
    "c": 0.21031,
    "h": 281.1
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#503CCC
secondary
#C9D192
accent
#E246CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #503CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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