#5638BE#5638BE

#5638BE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.197 H 286.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5638BE
RGBrgb(86, 56, 190)
HSLhsl(253, 54%, 48%)
HSVhsv(253, 71%, 75%)
CMYKcmyk(54.7%, 70.5%, 0%, 25.5%)
CIE-LABlab(35.05, 47.39, -65.85)
CIE-LCHlch(35.05, 81.13, 305.74°)
OKLaboklab(46.08% 0.0545 -0.1894)
OKLCHoklch(46.08% 0.197 286)
XYZxyz(14.5434, 8.5237, 49.5841)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5638BE #A0BE38
analogous
#385DBE #5638BE #9938BE
triadic
#5638BE #BE5638 #38BE56
tetradic
#5638BE #BE385D #A0BE38 #38BE99
square
#5638BE #BE385D #A0BE38 #38BE99
split-complementary
#5638BE #BE9938 #5DBE38
monochromatic
#2B1C5F #412A8F #5638BE #7B62D1 #A392DF

Accessibility & contrast

On white

7.76
#5638BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5638BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5638BE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5638BE#FFFFFF#000000##FFFFFF
##5638BE1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5638be;
/* rgb */ color: rgb(86, 56, 190);
/* oklch */ color: oklch(46.1% 0.197 286.0);
Tailwind
colors: {
  custom: {
    50: '#9071d3',
    500: '#5638be',
    950: '#000000',
  },
}
SCSS
$custom: #5638be;
$custom-light: #9071d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5638be",
  "rgb": {
    "r": 86,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 253.433,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.19705,
    "h": 286
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#5638BE
secondary
#BBCA88
accent
#DE4ABD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5638BE

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

Preview Lab → · Contrast checker → · Palette generator →

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