#5036CC#5036CC

#5036CC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.217 H 281.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5036CC
RGBrgb(80, 54, 204)
HSLhsl(250, 60%, 51%)
HSVhsv(250, 74%, 80%)
CMYKcmyk(60.8%, 73.5%, 0%, 20%)
CIE-LABlab(35.40, 51.73, -73.48)
CIE-LCHlch(35.40, 89.86, 305.15°)
OKLaboklab(46.59% 0.0446 -0.2119)
OKLCHoklch(46.59% 0.217 281.9)
XYZxyz(15.5231, 8.7023, 57.9767)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036CC #B2CC36
analogous
#3667CC #5036CC #9B36CC
triadic
#5036CC #CC5036 #36CC50
tetradic
#5036CC #CC3667 #B2CC36 #36CC9B
square
#5036CC #CC3667 #B2CC36 #36CC9B
split-complementary
#5036CC #CC9B36 #67CC36
monochromatic
#291B6C #3C289D #5036CC #7A67D8 #A598E5

Accessibility & contrast

On white

7.66
#5036CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5036CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036CC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036CC#FFFFFF#000000##FFFFFF
##5036CC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5036cc;
/* rgb */ color: rgb(80, 54, 204);
/* oklch */ color: oklch(46.6% 0.217 281.9);
Tailwind
colors: {
  custom: {
    50: '#8f70dd',
    500: '#5036cc',
    950: '#000000',
  },
}
SCSS
$custom: #5036cc;
$custom-light: #8f70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5036cc",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 250.4,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.21651,
    "h": 281.9
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

primary
#5036CC
secondary
#C5D08E
accent
#E345C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5036CC

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

Preview Lab → · Contrast checker → · Palette generator →

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