#503CBB#503CBB

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

Color values

HEX#503CBB
RGBrgb(80, 60, 187)
HSLhsl(249, 51%, 48%)
HSVhsv(249, 68%, 73%)
CMYKcmyk(57.2%, 67.9%, 0%, 26.7%)
CIE-LABlab(35.05, 43.32, -64.11)
CIE-LCHlch(35.05, 77.37, 304.05°)
OKLaboklab(45.87% 0.0432 -0.1845)
OKLCHoklch(45.87% 0.189 283.2)
XYZxyz(13.8910, 8.5242, 47.9174)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CBB #A7BB3C
analogous
#3C67BB #503CBB #8F3CBB
triadic
#503CBB #BB503C #3CBB50
tetradic
#503CBB #BB3C67 #A7BB3C #3CBB8F
square
#503CBB #BB3C67 #A7BB3C #3CBB8F
split-complementary
#503CBB #BB8F3C #67BB3C
monochromatic
#281E5E #3C2D8D #503CBB #7766CE #A095DD

Accessibility & contrast

On white

7.76
#503CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#503CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CBB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CBB#FFFFFF#000000##FFFFFF
##503CBB1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#175D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503cbb;
/* rgb */ color: rgb(80, 60, 187);
/* oklch */ color: oklch(45.9% 0.189 283.2);
Tailwind
colors: {
  custom: {
    50: '#8c73d0',
    500: '#503cbb',
    950: '#000000',
  },
}
SCSS
$custom: #503cbb;
$custom-light: #8c73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503cbb",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 249.449,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.18944,
    "h": 283.2
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#503CBB
secondary
#BFC88B
accent
#DB4DC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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