#503EB0#503EB0

#503EB0 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.173 H 284.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#503EB0
RGBrgb(80, 62, 176)
HSLhsl(249, 48%, 47%)
HSVhsv(249, 65%, 69%)
CMYKcmyk(54.5%, 64.8%, 0%, 31%)
CIE-LABlab(34.57, 38.75, -58.39)
CIE-LCHlch(34.57, 70.08, 303.57°)
OKLaboklab(45.24% 0.0427 -0.1677)
OKLCHoklch(45.24% 0.173 284.3)
XYZxyz(12.8650, 8.2846, 41.9871)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EB0 #9EB03E
analogous
#3E65B0 #503EB0 #893EB0
triadic
#503EB0 #B0503E #3EB050
tetradic
#503EB0 #B03E65 #9EB03E #3EB089
square
#503EB0 #B03E65 #9EB03E #3EB089
split-complementary
#503EB0 #B0893E #65B03E
monochromatic
#271E55 #3B2E83 #503EB0 #7363C8 #9C90D8

Accessibility & contrast

On white

7.90
#503EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#503EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EB0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EB0#FFFFFF#000000##FFFFFF
##503EB01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#265A71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503eb0;
/* rgb */ color: rgb(80, 62, 176);
/* oklch */ color: oklch(45.2% 0.173 284.3);
Tailwind
colors: {
  custom: {
    50: '#8a74c8',
    500: '#503eb0',
    950: '#000000',
  },
}
SCSS
$custom: #503eb0;
$custom-light: #8a74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503eb0",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 249.474,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.17302,
    "h": 284.3
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#503EB0
secondary
#BAC387
accent
#D750C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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