#5036BB#5036BB

#5036BB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.196 H 284.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5036BB
RGBrgb(80, 54, 187)
HSLhsl(252, 55%, 47%)
HSVhsv(252, 71%, 73%)
CMYKcmyk(57.2%, 71.1%, 0%, 26.7%)
CIE-LABlab(33.84, 46.66, -66.09)
CIE-LCHlch(33.84, 80.91, 305.22°)
OKLaboklab(45% 0.0482 -0.1903)
OKLCHoklch(45% 0.196 284.2)
XYZxyz(13.5943, 7.9308, 47.8185)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036BB #A1BB36
analogous
#365FBB #5036BB #9236BB
triadic
#5036BB #BB5036 #36BB50
tetradic
#5036BB #BB365F #A1BB36 #36BB92
square
#5036BB #BB365F #A1BB36 #36BB92
split-complementary
#5036BB #BB9236 #5FBB36
monochromatic
#271B5C #3C288C #5036BB #745ED0 #9D8DDE

Accessibility & contrast

On white

8.12
#5036BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5036BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036BB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036BB#FFFFFF#000000##FFFFFF
##5036BB1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#185A75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5036bb;
/* rgb */ color: rgb(80, 54, 187);
/* oklch */ color: oklch(45.0% 0.196 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c70d1',
    500: '#5036bb',
    950: '#000000',
  },
}
SCSS
$custom: #5036bb;
$custom-light: #8c70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5036bb",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 251.729,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.19628,
    "h": 284.2
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#5036BB
secondary
#BBC984
accent
#DF49C1
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5036BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5036BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva