#5634BF#5634BF

#5634BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.203 H 286.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5634BF
RGBrgb(86, 52, 191)
HSLhsl(255, 57%, 48%)
HSVhsv(255, 73%, 75%)
CMYKcmyk(55%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.39, 49.78, -67.53)
CIE-LCHlch(34.39, 83.89, 306.40°)
OKLaboklab(45.64% 0.0575 -0.1943)
OKLCHoklch(45.64% 0.203 286.5)
XYZxyz(14.4669, 8.1952, 50.0996)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5634BF #9DBF34
analogous
#3458BF #5634BF #9B34BF
triadic
#5634BF #BF5634 #34BF56
tetradic
#5634BF #BF3458 #9DBF34 #34BF9B
square
#5634BF #BF3458 #9DBF34 #34BF9B
split-complementary
#5634BF #BF9B34 #58BF34
monochromatic
#2B1A5F #40278F #5634BF #7A5DD3 #A28DE0

Accessibility & contrast

On white

7.96
#5634BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5634BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5634BF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5634BF#FFFFFF#000000##FFFFFF
##5634BF1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#285A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5634bf;
/* rgb */ color: rgb(86, 52, 191);
/* oklch */ color: oklch(45.6% 0.203 286.5);
Tailwind
colors: {
  custom: {
    50: '#906fd3',
    500: '#5634bf',
    950: '#000000',
  },
}
SCSS
$custom: #5634bf;
$custom-light: #906fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5634bf",
  "rgb": {
    "r": 86,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 254.676,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45635,
    "c": 0.20262,
    "h": 286.5
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#5634BF
secondary
#B9CA84
accent
#E047BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5634BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5634BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva