#503CD9#503CD9

#503CD9 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.6% C 0.226 H 279.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#503CD9
RGBrgb(80, 60, 217)
HSLhsl(248, 67%, 54%)
HSVhsv(248, 72%, 85%)
CMYKcmyk(63.1%, 72.4%, 0%, 14.9%)
CIE-LABlab(37.74, 52.49, -77.14)
CIE-LCHlch(37.74, 93.30, 304.23°)
OKLaboklab(48.61% 0.0378 -0.2226)
OKLCHoklch(48.61% 0.226 279.6)
XYZxyz(17.4445, 9.9456, 66.6326)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CD9 #C5D93C
analogous
#3C77D9 #503CD9 #9E3CD9
triadic
#503CD9 #D9503C #3CD950
tetradic
#503CD9 #D93C77 #C5D93C #3CD99E
square
#503CD9 #D93C77 #C5D93C #3CD99E
split-complementary
#503CD9 #D99E3C #77D93C
monochromatic
#261981 #3623B5 #503CD9 #7E6FE3 #ACA2ED

Accessibility & contrast

On white

7.02
#503CD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#503CD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CD9
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CD9#FFFFFF#000000##FFFFFF
##503CD91.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0053D6
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #503cd9;
/* rgb */ color: rgb(80, 60, 217);
/* oklch */ color: oklch(48.6% 0.226 279.6);
Tailwind
colors: {
  custom: {
    50: '#9174e6',
    500: '#503cd9',
    950: '#000000',
  },
}
SCSS
$custom: #503cd9;
$custom-light: #9174e6;
$custom-dark: #000000;
JSON
{
  "hex": "#503cd9",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 247.643,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48612,
    "c": 0.2258,
    "h": 279.6
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#503CD9
secondary
#D1DA97
accent
#EA3ED4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #503CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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