#503BCB#503BCB

#503BCB is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.2% C 0.210 H 281.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#503BCB
RGBrgb(80, 59, 203)
HSLhsl(249, 58%, 51%)
HSVhsv(249, 71%, 80%)
CMYKcmyk(60.6%, 70.9%, 0%, 20.4%)
CIE-LABlab(36.26, 48.78, -71.49)
CIE-LCHlch(36.26, 86.54, 304.31°)
OKLaboklab(47.17% 0.0413 -0.2061)
OKLCHoklch(47.17% 0.21 281.3)
XYZxyz(15.6483, 9.1441, 57.4287)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BCB #B6CB3B
analogous
#3B6ECB #503BCB #983BCB
triadic
#503BCB #CB503B #3BCB50
tetradic
#503BCB #CB3B6E #B6CB3B #3BCB98
square
#503BCB #CB3B6E #B6CB3B #3BCB98
split-complementary
#503BCB #CB983B #6ECB3B
monochromatic
#291D6E #3B2A9F #503BCB #7B6BD8 #A69CE5

Accessibility & contrast

On white

7.42
#503BCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#503BCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BCB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BCB#FFFFFF#000000##FFFFFF
##503BCB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #503bcb;
/* rgb */ color: rgb(80, 59, 203);
/* oklch */ color: oklch(47.2% 0.210 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f73dc',
    500: '#503bcb',
    950: '#000000',
  },
}
SCSS
$custom: #503bcb;
$custom-light: #8f73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#503bcb",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 248.75,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.21017,
    "h": 281.3
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#503BCB
secondary
#C7D191
accent
#E147CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #503BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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