#503FBD#503FBD

#503FBD is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.5% C 0.188 H 282.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#503FBD
RGBrgb(80, 63, 189)
HSLhsl(248, 50%, 49%)
HSVhsv(248, 67%, 74%)
CMYKcmyk(57.7%, 66.7%, 0%, 25.9%)
CIE-LABlab(35.86, 42.22, -63.97)
CIE-LCHlch(35.86, 76.64, 303.42°)
OKLaboklab(46.5% 0.0403 -0.184)
OKLCHoklch(46.5% 0.188 282.3)
XYZxyz(14.2682, 8.9337, 49.1068)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FBD #ACBD3F
analogous
#3F6DBD #503FBD #8F3FBD
triadic
#503FBD #BD503F #3FBD50
tetradic
#503FBD #BD3F6D #ACBD3F #3FBD8F
square
#503FBD #BD3F6D #ACBD3F #3FBD8F
split-complementary
#503FBD #BD8F3F #6DBD3F
monochromatic
#292061 #3D308F #503FBD #796BCE #A299DD

Accessibility & contrast

On white

7.53
#503FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#503FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FBD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FBD#FFFFFF#000000##FFFFFF
##503FBD1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#125F78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #503fbd;
/* rgb */ color: rgb(80, 63, 189);
/* oklch */ color: oklch(46.5% 0.188 282.3);
Tailwind
colors: {
  custom: {
    50: '#8c75d2',
    500: '#503fbd',
    950: '#000000',
  },
}
SCSS
$custom: #503fbd;
$custom-light: #8c75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#503fbd",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 248.095,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.465,
    "c": 0.18841,
    "h": 282.3
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#503FBD
secondary
#C1C98F
accent
#DA4EC7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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