#503FD5#503FD5

#503FD5 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.218 H 279.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#503FD5
RGBrgb(80, 63, 213)
HSLhsl(247, 64%, 54%)
HSVhsv(247, 70%, 84%)
CMYKcmyk(62.4%, 70.4%, 0%, 16.5%)
CIE-LABlab(37.96, 49.65, -74.49)
CIE-LCHlch(37.96, 89.52, 303.69°)
OKLaboklab(48.65% 0.0366 -0.2149)
OKLCHoklch(48.65% 0.218 279.7)
XYZxyz(17.0922, 10.0633, 63.9796)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FD5 #C4D53F
analogous
#3F79D5 #503FD5 #9B3FD5
triadic
#503FD5 #D5503F #3FD550
tetradic
#503FD5 #D53F79 #C4D53F #3FD59B
square
#503FD5 #D53F79 #C4D53F #3FD59B
split-complementary
#503FD5 #D59B3F #79D53F
monochromatic
#271C7E #3627B0 #503FD5 #7E71E0 #ACA3EB

Accessibility & contrast

On white

6.97
#503FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#503FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #503FD5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FD5#FFFFFF#000000##FFFFFF
##503FD51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0053D2
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #503fd5;
/* rgb */ color: rgb(80, 63, 213);
/* oklch */ color: oklch(48.6% 0.218 279.7);
Tailwind
colors: {
  custom: {
    50: '#9076e3',
    500: '#503fd5',
    950: '#000000',
  },
}
SCSS
$custom: #503fd5;
$custom-light: #9076e3;
$custom-dark: #000000;
JSON
{
  "hex": "#503fd5",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 246.8,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.21797,
    "h": 279.7
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#503FD5
secondary
#D1D898
accent
#E741D4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #503FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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