#5036BD#5036BD

#5036BD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.199 H 283.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5036BD
RGBrgb(80, 54, 189)
HSLhsl(252, 56%, 48%)
HSVhsv(252, 71%, 74%)
CMYKcmyk(57.7%, 71.4%, 0%, 25.9%)
CIE-LABlab(34.02, 47.26, -66.98)
CIE-LCHlch(34.02, 81.97, 305.21°)
OKLaboklab(45.18% 0.0478 -0.1929)
OKLCHoklch(45.18% 0.199 283.9)
XYZxyz(13.8099, 8.0171, 48.9540)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036BD #A3BD36
analogous
#365FBD #5036BD #9436BD
triadic
#5036BD #BD5036 #36BD50
tetradic
#5036BD #BD365F #A3BD36 #36BD94
square
#5036BD #BD365F #A3BD36 #36BD94
split-complementary
#5036BD #BD9436 #5FBD36
monochromatic
#281B5E #3C288D #5036BD #755FD1 #9E8FDF

Accessibility & contrast

On white

8.07
#5036BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5036BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036BD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036BD#FFFFFF#000000##FFFFFF
##5036BD1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#145A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5036bd;
/* rgb */ color: rgb(80, 54, 189);
/* oklch */ color: oklch(45.2% 0.199 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d70d2',
    500: '#5036bd',
    950: '#000000',
  },
}
SCSS
$custom: #5036bd;
$custom-light: #8d70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5036bd",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 251.556,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.19869,
    "h": 283.9
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#5036BD
secondary
#BCC985
accent
#DF49C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5036BD

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

Preview Lab → · Contrast checker → · Palette generator →

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