#503FA9#503FA9

#503FA9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.163 H 285.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#503FA9
RGBrgb(80, 63, 169)
HSLhsl(250, 46%, 45%)
HSVhsv(250, 63%, 66%)
CMYKcmyk(52.7%, 62.7%, 0%, 33.7%)
CIE-LABlab(34.24, 35.97, -54.74)
CIE-LCHlch(34.24, 65.51, 303.31°)
OKLaboklab(44.82% 0.0423 -0.157)
OKLCHoklch(44.82% 0.163 285.1)
XYZxyz(12.2451, 8.1244, 38.4514)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA9 #98A93F
analogous
#3F63A9 #503FA9 #853FA9
triadic
#503FA9 #A9503F #3FA950
tetradic
#503FA9 #A93F63 #98A93F #3FA985
square
#503FA9 #A93F63 #98A93F #3FA985
split-complementary
#503FA9 #A9853F #63A93F
monochromatic
#261E50 #3B2E7C #503FA9 #7161C4 #998ED5

Accessibility & contrast

On white

8.00
#503FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#503FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA9#FFFFFF#000000##FFFFFF
##503FA91.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#2D586E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503fa9;
/* rgb */ color: rgb(80, 63, 169);
/* oklch */ color: oklch(44.8% 0.163 285.1);
Tailwind
colors: {
  custom: {
    50: '#8975c3',
    500: '#503fa9',
    950: '#000000',
  },
}
SCSS
$custom: #503fa9;
$custom-light: #8975c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa9",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 249.623,
    "s": 45.69,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.16257,
    "h": 285.1
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#503FA9
secondary
#B6C084
accent
#D552C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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