#5636BB#5636BB

#5636BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.196 H 286.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5636BB
RGBrgb(86, 54, 187)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 73%)
CMYKcmyk(54%, 71.1%, 0%, 26.7%)
CIE-LABlab(34.40, 47.58, -65.15)
CIE-LCHlch(34.40, 80.67, 306.14°)
OKLaboklab(45.54% 0.0567 -0.1873)
OKLCHoklch(45.54% 0.196 286.9)
XYZxyz(14.1239, 8.2039, 47.8434)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5636BB #9BBB36
analogous
#3659BB #5636BB #9936BB
triadic
#5636BB #BB5636 #36BB56
tetradic
#5636BB #BB3659 #9BBB36 #36BB99
square
#5636BB #BB3659 #9BBB36 #36BB99
split-complementary
#5636BB #BB9936 #59BB36
monochromatic
#2A1B5C #40288C #5636BB #795ED0 #A18DDE

Accessibility & contrast

On white

7.95
#5636BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5636BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5636BB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5636BB#FFFFFF#000000##FFFFFF
##5636BB1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#2C5975
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5636bb;
/* rgb */ color: rgb(86, 54, 187);
/* oklch */ color: oklch(45.5% 0.196 286.9);
Tailwind
colors: {
  custom: {
    50: '#9070d1',
    500: '#5636bb',
    950: '#000000',
  },
}
SCSS
$custom: #5636bb;
$custom-light: #9070d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5636bb",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 254.436,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.1957,
    "h": 286.9
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#5636BB
secondary
#B8C984
accent
#DF49BB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5636BB

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

Preview Lab → · Contrast checker → · Palette generator →

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