#503EAF#503EAF

#503EAF is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.2% C 0.172 H 284.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#503EAF
RGBrgb(80, 62, 175)
HSLhsl(250, 48%, 46%)
HSVhsv(250, 65%, 69%)
CMYKcmyk(54.3%, 64.6%, 0%, 31.4%)
CIE-LABlab(34.49, 38.44, -57.92)
CIE-LCHlch(34.49, 69.52, 303.57°)
OKLaboklab(45.15% 0.0428 -0.1663)
OKLCHoklch(45.15% 0.172 284.4)
XYZxyz(12.7664, 8.2452, 41.4679)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EAF #9DAF3E
analogous
#3E65AF #503EAF #893EAF
triadic
#503EAF #AF503E #3EAF50
tetradic
#503EAF #AF3E65 #9DAF3E #3EAF89
square
#503EAF #AF3E65 #9DAF3E #3EAF89
split-complementary
#503EAF #AF893E #65AF3E
monochromatic
#271E55 #3B2E82 #503EAF #7363C8 #9B90D8

Accessibility & contrast

On white

7.93
#503EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#503EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EAF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EAF#FFFFFF#000000##FFFFFF
##503EAF1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#275A71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503eaf;
/* rgb */ color: rgb(80, 62, 175);
/* oklch */ color: oklch(45.2% 0.172 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a74c8',
    500: '#503eaf',
    950: '#000000',
  },
}
SCSS
$custom: #503eaf;
$custom-light: #8a74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503eaf",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 249.558,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.17173,
    "h": 284.4
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#503EAF
secondary
#B9C386
accent
#D751C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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