#5E56BD#5E56BD

#5E56BD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.157 H 282.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5E56BD
RGBrgb(94, 86, 189)
HSLhsl(245, 44%, 54%)
HSVhsv(245, 54%, 74%)
CMYKcmyk(50.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(42.32, 31.03, -53.42)
CIE-LCHlch(42.32, 61.78, 300.15°)
OKLaboklab(51.53% 0.035 -0.1525)
OKLCHoklch(51.53% 0.157 282.9)
XYZxyz(17.1264, 12.7085, 49.6848)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56BD #B5BD56
analogous
#5682BD #5E56BD #9256BD
triadic
#5E56BD #BD5E56 #56BD5E
tetradic
#5E56BD #BD5682 #B5BD56 #56BD92
square
#5E56BD #BD5682 #B5BD56 #56BD92
split-complementary
#5E56BD #BD9256 #82BD56
monochromatic
#302B6E #433C9A #5E56BD #8882CE #B2AEDF

Accessibility & contrast

On white

5.93
#5E56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5E56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56BD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56BD#FFFFFF#000000##FFFFFF
##5E56BD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C1
Deuteranopia (green-blind)
#1060BB
Tritanopia (blue-blind)
#3A6D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e56bd;
/* rgb */ color: rgb(94, 86, 189);
/* oklch */ color: oklch(51.5% 0.157 282.9);
Tailwind
colors: {
  custom: {
    50: '#9286d1',
    500: '#5e56bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e56bd;
$custom-light: #9286d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56bd",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 244.66,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.15651,
    "h": 282.9
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#5E56BD
secondary
#CACDA1
accent
#D454CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5E56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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