#5E56BF#5E56BF

#5E56BF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.159 H 282.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5E56BF
RGBrgb(94, 86, 191)
HSLhsl(245, 45%, 54%)
HSVhsv(245, 55%, 75%)
CMYKcmyk(50.8%, 55%, 0%, 25.1%)
CIE-LABlab(42.45, 31.65, -54.37)
CIE-LCHlch(42.45, 62.91, 300.20°)
OKLaboklab(51.67% 0.0351 -0.1553)
OKLCHoklch(51.67% 0.159 282.7)
XYZxyz(17.3450, 12.7959, 50.8360)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56BF #B7BF56
analogous
#5683BF #5E56BF #9256BF
triadic
#5E56BF #BF5E56 #56BF5E
tetradic
#5E56BF #BF5683 #B7BF56 #56BF92
square
#5E56BF #BF5683 #B7BF56 #56BF92
split-complementary
#5E56BF #BF9256 #83BF56
monochromatic
#302A70 #433B9D #5E56BF #8882D0 #B3AFE1

Accessibility & contrast

On white

5.90
#5E56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5E56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56BF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56BF#FFFFFF#000000##FFFFFF
##5E56BF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#0861BD
Tritanopia (blue-blind)
#396E82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e56bf;
/* rgb */ color: rgb(94, 86, 191);
/* oklch */ color: oklch(51.7% 0.159 282.7);
Tailwind
colors: {
  custom: {
    50: '#9386d3',
    500: '#5e56bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e56bf;
$custom-light: #9386d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56bf",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 244.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.15924,
    "h": 282.7
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#5E56BF
secondary
#CBCFA2
accent
#D553CB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5E56BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5E56BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva