#5E56CF#5E56CF

#5E56CF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.181 H 281.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5E56CF
RGBrgb(94, 86, 207)
HSLhsl(244, 56%, 57%)
HSVhsv(244, 58%, 81%)
CMYKcmyk(54.6%, 58.5%, 0%, 18.8%)
CIE-LABlab(43.56, 36.65, -61.83)
CIE-LCHlch(43.56, 71.88, 300.65°)
OKLaboklab(52.85% 0.0352 -0.1773)
OKLCHoklch(52.85% 0.181 281.2)
XYZxyz(19.2029, 13.5391, 60.6208)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56CF #C7CF56
analogous
#568ACF #5E56CF #9B56CF
triadic
#5E56CF #CF5E56 #56CF5E
tetradic
#5E56CF #CF568A #C7CF56 #56CF9B
square
#5E56CF #CF568A #C7CF56 #56CF9B
split-complementary
#5E56CF #CF9B56 #8ACF56
monochromatic
#2C2685 #3C33B5 #5E56CF #8B86DD #B9B5EA

Accessibility & contrast

On white

5.66
#5E56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5E56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56CF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56CF#FFFFFF#000000##FFFFFF
##5E56CF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#29738A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e56cf;
/* rgb */ color: rgb(94, 86, 207);
/* oklch */ color: oklch(52.8% 0.181 281.2);
Tailwind
colors: {
  custom: {
    50: '#9586de',
    500: '#5e56cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e56cf;
$custom-light: #9586de;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56cf",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 243.967,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.18074,
    "h": 281.2
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#5E56CF
secondary
#D6D9A8
accent
#DF49D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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