#5036BE#5036BE

#5036BE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.200 H 283.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5036BE
RGBrgb(80, 54, 190)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(57.9%, 71.6%, 0%, 25.5%)
CIE-LABlab(34.11, 47.56, -67.42)
CIE-LCHlch(34.11, 82.51, 305.20°)
OKLaboklab(45.27% 0.0476 -0.1941)
OKLCHoklch(45.27% 0.2 283.8)
XYZxyz(13.9188, 8.0606, 49.5276)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036BE #A4BE36
analogous
#3660BE #5036BE #9436BE
triadic
#5036BE #BE5036 #36BE50
tetradic
#5036BE #BE3660 #A4BE36 #36BE94
square
#5036BE #BE3660 #A4BE36 #36BE94
split-complementary
#5036BE #BE9436 #60BE36
monochromatic
#281B5F #3C288E #5036BE #7560D2 #9E8FDF

Accessibility & contrast

On white

8.04
#5036BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5036BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036BE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036BE#FFFFFF#000000##FFFFFF
##5036BE1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#125B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5036be;
/* rgb */ color: rgb(80, 54, 190);
/* oklch */ color: oklch(45.3% 0.200 283.8);
Tailwind
colors: {
  custom: {
    50: '#8d70d3',
    500: '#5036be',
    950: '#000000',
  },
}
SCSS
$custom: #5036be;
$custom-light: #8d70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5036be",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 251.471,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45274,
    "c": 0.1999,
    "h": 283.8
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#5036BE
secondary
#BDCA86
accent
#DF49C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #5036BE

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

Preview Lab → · Contrast checker → · Palette generator →

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