#503DCB#503DCB

#503DCB is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.208 H 281.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#503DCB
RGBrgb(80, 61, 203)
HSLhsl(248, 58%, 52%)
HSVhsv(248, 70%, 80%)
CMYKcmyk(60.6%, 70%, 0%, 20.4%)
CIE-LABlab(36.66, 47.68, -70.84)
CIE-LCHlch(36.66, 85.39, 303.95°)
OKLaboklab(47.45% 0.0398 -0.2042)
OKLCHoklch(47.45% 0.208 281)
XYZxyz(15.7531, 9.3536, 57.4636)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DCB #B8CB3D
analogous
#3D71CB #503DCB #973DCB
triadic
#503DCB #CB503D #3DCB50
tetradic
#503DCB #CB3D71 #B8CB3D #3DCB97
square
#503DCB #CB3D71 #B8CB3D #3DCB97
split-complementary
#503DCB #CB973D #71CB3D
monochromatic
#291E70 #3B2BA0 #503DCB #7C6DD8 #A79EE5

Accessibility & contrast

On white

7.31
#503DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#503DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DCB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DCB#FFFFFF#000000##FFFFFF
##503DCB1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #503dcb;
/* rgb */ color: rgb(80, 61, 203);
/* oklch */ color: oklch(47.4% 0.208 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f74dc',
    500: '#503dcb',
    950: '#000000',
  },
}
SCSS
$custom: #503dcb;
$custom-light: #8f74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#503dcb",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 248.028,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.20803,
    "h": 281
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#503DCB
secondary
#C9D193
accent
#E147CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #503DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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