#503FB7#503FB7

#503FB7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.181 H 283.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#503FB7
RGBrgb(80, 63, 183)
HSLhsl(249, 49%, 48%)
HSVhsv(249, 66%, 72%)
CMYKcmyk(56.3%, 65.6%, 0%, 28.2%)
CIE-LABlab(35.36, 40.34, -61.25)
CIE-LCHlch(35.36, 73.34, 303.37°)
OKLaboklab(45.99% 0.041 -0.1761)
OKLCHoklch(45.99% 0.181 283.1)
XYZxyz(13.6304, 8.6785, 45.7475)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FB7 #A6B73F
analogous
#3F6AB7 #503FB7 #8C3FB7
triadic
#503FB7 #B7503F #3FB750
tetradic
#503FB7 #B73F6A #A6B73F #3FB78C
square
#503FB7 #B73F6A #A6B73F #3FB78C
split-complementary
#503FB7 #B78C3F #6AB73F
monochromatic
#28205C #3C2F89 #503FB7 #7668CB #9F96DB

Accessibility & contrast

On white

7.68
#503FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#503FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FB7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FB7#FFFFFF#000000##FFFFFF
##503FB71.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#1D5D75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503fb7;
/* rgb */ color: rgb(80, 63, 183);
/* oklch */ color: oklch(46.0% 0.181 283.1);
Tailwind
colors: {
  custom: {
    50: '#8b75ce',
    500: '#503fb7',
    950: '#000000',
  },
}
SCSS
$custom: #503fb7;
$custom-light: #8b75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503fb7",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 248.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.18079,
    "h": 283.1
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#503FB7
secondary
#BEC68B
accent
#D84FC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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