#5E56BC#5E56BC

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

Color values

HEX#5E56BC
RGBrgb(94, 86, 188)
HSLhsl(245, 43%, 54%)
HSVhsv(245, 54%, 74%)
CMYKcmyk(50%, 54.3%, 0%, 26.3%)
CIE-LABlab(42.25, 30.72, -52.95)
CIE-LCHlch(42.25, 61.21, 300.12°)
OKLaboklab(51.46% 0.035 -0.1511)
OKLCHoklch(51.46% 0.155 283)
XYZxyz(17.0182, 12.6652, 49.1151)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56BC #B4BC56
analogous
#5681BC #5E56BC #9156BC
triadic
#5E56BC #BC5E56 #56BC5E
tetradic
#5E56BC #BC5681 #B4BC56 #56BC91
square
#5E56BC #BC5681 #B4BC56 #56BC91
split-complementary
#5E56BC #BC9156 #81BC56
monochromatic
#302B6D #443C98 #5E56BC #8882CD #B2AEDF

Accessibility & contrast

On white

5.94
#5E56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5E56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56BC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56BC#FFFFFF#000000##FFFFFF
##5E56BC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#1360BA
Tritanopia (blue-blind)
#3B6D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e56bc;
/* rgb */ color: rgb(94, 86, 188);
/* oklch */ color: oklch(51.5% 0.155 283.0);
Tailwind
colors: {
  custom: {
    50: '#9286d1',
    500: '#5e56bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e56bc;
$custom-light: #9286d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56bc",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 244.706,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.15514,
    "h": 283
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#5E56BC
secondary
#C9CDA1
accent
#D355C9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5E56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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