#503EB8#503EB8

#503EB8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.183 H 283.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#503EB8
RGBrgb(80, 62, 184)
HSLhsl(249, 50%, 48%)
HSVhsv(249, 66%, 72%)
CMYKcmyk(56.5%, 66.3%, 0%, 27.8%)
CIE-LABlab(35.22, 41.24, -62.06)
CIE-LCHlch(35.22, 74.51, 303.61°)
OKLaboklab(45.91% 0.0418 -0.1784)
OKLCHoklch(45.91% 0.183 283.2)
XYZxyz(13.6800, 8.6106, 46.2793)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EB8 #A6B83E
analogous
#3E69B8 #503EB8 #8D3EB8
triadic
#503EB8 #B8503E #3EB850
tetradic
#503EB8 #B83E69 #A6B83E #3EB88D
square
#503EB8 #B83E69 #A6B83E #3EB88D
split-complementary
#503EB8 #B88D3E #69B83E
monochromatic
#281F5C #3C2F8A #503EB8 #7667CC #9F95DB

Accessibility & contrast

On white

7.71
#503EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#503EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EB8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EB8#FFFFFF#000000##FFFFFF
##503EB81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#1C5D75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #503eb8;
/* rgb */ color: rgb(80, 62, 184);
/* oklch */ color: oklch(45.9% 0.183 283.2);
Tailwind
colors: {
  custom: {
    50: '#8b75ce',
    500: '#503eb8',
    950: '#000000',
  },
}
SCSS
$custom: #503eb8;
$custom-light: #8b75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503eb8",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 248.852,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.18328,
    "h": 283.2
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#503EB8
secondary
#BEC78B
accent
#D94FC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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