#503FB9#503FB9

#503FB9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.183 H 282.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#503FB9
RGBrgb(80, 63, 185)
HSLhsl(248, 49%, 49%)
HSVhsv(248, 66%, 73%)
CMYKcmyk(56.8%, 65.9%, 0%, 27.5%)
CIE-LABlab(35.52, 40.97, -62.16)
CIE-LCHlch(35.52, 74.45, 303.39°)
OKLaboklab(46.16% 0.0408 -0.1787)
OKLCHoklch(46.16% 0.183 282.9)
XYZxyz(13.8400, 8.7624, 46.8516)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FB9 #A8B93F
analogous
#3F6BB9 #503FB9 #8D3FB9
triadic
#503FB9 #B9503F #3FB950
tetradic
#503FB9 #B93F6B #A8B93F #3FB98D
square
#503FB9 #B93F6B #A8B93F #3FB98D
split-complementary
#503FB9 #B98D3F #6BB93F
monochromatic
#29205E #3C2F8B #503FB9 #7769CC #A097DC

Accessibility & contrast

On white

7.63
#503FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#503FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FB9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FB9#FFFFFF#000000##FFFFFF
##503FB91.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#1A5E76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #503fb9;
/* rgb */ color: rgb(80, 63, 185);
/* oklch */ color: oklch(46.2% 0.183 282.9);
Tailwind
colors: {
  custom: {
    50: '#8b75cf',
    500: '#503fb9',
    950: '#000000',
  },
}
SCSS
$custom: #503fb9;
$custom-light: #8b75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#503fb9",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 248.361,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.18333,
    "h": 282.9
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#503FB9
secondary
#BFC78D
accent
#D94FC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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