#503CCB#503CCB

#503CCB is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.209 H 281.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#503CCB
RGBrgb(80, 60, 203)
HSLhsl(248, 58%, 52%)
HSVhsv(248, 70%, 80%)
CMYKcmyk(60.6%, 70.4%, 0%, 20.4%)
CIE-LABlab(36.46, 48.23, -71.16)
CIE-LCHlch(36.46, 85.97, 304.13°)
OKLaboklab(47.31% 0.0405 -0.2051)
OKLCHoklch(47.31% 0.209 281.2)
XYZxyz(15.7002, 9.2479, 57.4460)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CCB #B7CB3C
analogous
#3C70CB #503CCB #983CCB
triadic
#503CCB #CB503C #3CCB50
tetradic
#503CCB #CB3C70 #B7CB3C #3CCB98
square
#503CCB #CB3C70 #B7CB3C #3CCB98
split-complementary
#503CCB #CB983C #70CB3C
monochromatic
#291E6F #3B2A9F #503CCB #7B6CD8 #A79DE5

Accessibility & contrast

On white

7.37
#503CCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#503CCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CCB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CCB#FFFFFF#000000##FFFFFF
##503CCB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #503ccb;
/* rgb */ color: rgb(80, 60, 203);
/* oklch */ color: oklch(47.3% 0.209 281.2);
Tailwind
colors: {
  custom: {
    50: '#8f74dc',
    500: '#503ccb',
    950: '#000000',
  },
}
SCSS
$custom: #503ccb;
$custom-light: #8f74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#503ccb",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 248.392,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.2091,
    "h": 281.2
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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