#5637BB#5637BB

#5637BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.195 H 286.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5637BB
RGBrgb(86, 55, 187)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 73%)
CMYKcmyk(54%, 70.6%, 0%, 26.7%)
CIE-LABlab(34.60, 47.04, -64.83)
CIE-LCHlch(34.60, 80.10, 305.97°)
OKLaboklab(45.68% 0.0559 -0.1864)
OKLCHoklch(45.68% 0.195 286.7)
XYZxyz(14.1709, 8.2979, 47.8590)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637BB #9CBB37
analogous
#375ABB #5637BB #9837BB
triadic
#5637BB #BB5637 #37BB56
tetradic
#5637BB #BB375A #9CBB37 #37BB98
square
#5637BB #BB375A #9CBB37 #37BB98
split-complementary
#5637BB #BB9837 #5ABB37
monochromatic
#2B1B5C #40298C #5637BB #7A5FD0 #A18EDE

Accessibility & contrast

On white

7.90
#5637BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5637BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637BB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637BB#FFFFFF#000000##FFFFFF
##5637BB1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#2C5A75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5637bb;
/* rgb */ color: rgb(86, 55, 187);
/* oklch */ color: oklch(45.7% 0.195 286.7);
Tailwind
colors: {
  custom: {
    50: '#9071d1',
    500: '#5637bb',
    950: '#000000',
  },
}
SCSS
$custom: #5637bb;
$custom-light: #9071d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5637bb",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 254.091,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.19458,
    "h": 286.7
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#5637BB
secondary
#B9C985
accent
#DE4ABB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5637BB

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

Preview Lab → · Contrast checker → · Palette generator →

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