#503BD5#503BD5

#503BD5 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.1% C 0.222 H 280.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#503BD5
RGBrgb(80, 59, 213)
HSLhsl(248, 65%, 53%)
HSVhsv(248, 72%, 84%)
CMYKcmyk(62.4%, 72.3%, 0%, 16.5%)
CIE-LABlab(37.18, 51.81, -75.76)
CIE-LCHlch(37.18, 91.78, 304.37°)
OKLaboklab(48.1% 0.0393 -0.2186)
OKLCHoklch(48.1% 0.222 280.2)
XYZxyz(16.8787, 9.6362, 63.9084)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BD5 #C0D53B
analogous
#3B73D5 #503BD5 #9D3BD5
triadic
#503BD5 #D5503B #3BD550
tetradic
#503BD5 #D53B73 #C0D53B #3BD59D
square
#503BD5 #D53B73 #C0D53B #3BD59D
split-complementary
#503BD5 #D59D3B #73D53B
monochromatic
#281A7B #3825AE #503BD5 #7D6DE0 #AAA0EB

Accessibility & contrast

On white

7.17
#503BD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#503BD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BD5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BD5#FFFFFF#000000##FFFFFF
##503BD51.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDA
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #503bd5;
/* rgb */ color: rgb(80, 59, 213);
/* oklch */ color: oklch(48.1% 0.222 280.2);
Tailwind
colors: {
  custom: {
    50: '#9174e3',
    500: '#503bd5',
    950: '#000000',
  },
}
SCSS
$custom: #503bd5;
$custom-light: #9174e3;
$custom-dark: #000000;
JSON
{
  "hex": "#503bd5",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 248.182,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.22208,
    "h": 280.2
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#503BD5
secondary
#CED795
accent
#E840D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #503BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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