#5637BE#5637BE

#5637BE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.198 H 286.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5637BE
RGBrgb(86, 55, 190)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 75%)
CMYKcmyk(54.7%, 71.1%, 0%, 25.5%)
CIE-LABlab(34.86, 47.92, -66.17)
CIE-LCHlch(34.86, 81.70, 305.91°)
OKLaboklab(45.94% 0.0553 -0.1903)
OKLCHoklch(45.94% 0.198 286.2)
XYZxyz(14.4954, 8.4277, 49.5681)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637BE #9FBE37
analogous
#375BBE #5637BE #9937BE
triadic
#5637BE #BE5637 #37BE56
tetradic
#5637BE #BE375B #9FBE37 #37BE99
square
#5637BE #BE375B #9FBE37 #37BE99
split-complementary
#5637BE #BE9937 #5BBE37
monochromatic
#2B1C5F #41298F #5637BE #7B61D1 #A290DF

Accessibility & contrast

On white

7.82
#5637BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5637BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637BE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637BE#FFFFFF#000000##FFFFFF
##5637BE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#295B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5637be;
/* rgb */ color: rgb(86, 55, 190);
/* oklch */ color: oklch(45.9% 0.198 286.2);
Tailwind
colors: {
  custom: {
    50: '#9071d3',
    500: '#5637be',
    950: '#000000',
  },
}
SCSS
$custom: #5637be;
$custom-light: #9071d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5637be",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 253.778,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.19817,
    "h": 286.2
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#5637BE
secondary
#BACA87
accent
#DE49BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5637BE

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

Preview Lab → · Contrast checker → · Palette generator →

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