#503FA8#503FA8

#503FA8 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.161 H 285.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#503FA8
RGBrgb(80, 63, 168)
HSLhsl(250, 45%, 45%)
HSVhsv(250, 63%, 66%)
CMYKcmyk(52.4%, 62.5%, 0%, 34.1%)
CIE-LABlab(34.16, 35.66, -54.27)
CIE-LCHlch(34.16, 64.94, 303.31°)
OKLaboklab(44.74% 0.0424 -0.1556)
OKLCHoklch(44.74% 0.161 285.2)
XYZxyz(12.1515, 8.0870, 37.9589)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA8 #97A83F
analogous
#3F63A8 #503FA8 #843FA8
triadic
#503FA8 #A8503F #3FA850
tetradic
#503FA8 #A83F63 #97A83F #3FA884
square
#503FA8 #A83F63 #97A83F #3FA884
split-complementary
#503FA8 #A8843F #63A83F
monochromatic
#261E4F #3B2E7B #503FA8 #7161C4 #998DD4

Accessibility & contrast

On white

8.02
#503FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#503FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA8#FFFFFF#000000##FFFFFF
##503FA81.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#2E586D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503fa8;
/* rgb */ color: rgb(80, 63, 168);
/* oklch */ color: oklch(44.7% 0.161 285.2);
Tailwind
colors: {
  custom: {
    50: '#8975c3',
    500: '#503fa8',
    950: '#000000',
  },
}
SCSS
$custom: #503fa8;
$custom-light: #8975c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa8",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 249.714,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44743,
    "c": 0.16124,
    "h": 285.2
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#503FA8
secondary
#B6BF84
accent
#D553C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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