#5E56CD#5E56CD

#5E56CD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.178 H 281.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5E56CD
RGBrgb(94, 86, 205)
HSLhsl(244, 54%, 57%)
HSVhsv(244, 58%, 80%)
CMYKcmyk(54.1%, 58%, 0%, 19.6%)
CIE-LABlab(43.42, 36.02, -60.91)
CIE-LCHlch(43.42, 70.77, 300.60°)
OKLaboklab(52.7% 0.0352 -0.1746)
OKLCHoklch(52.7% 0.178 281.4)
XYZxyz(18.9599, 13.4419, 59.3412)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56CD #C5CD56
analogous
#5689CD #5E56CD #9A56CD
triadic
#5E56CD #CD5E56 #56CD5E
tetradic
#5E56CD #CD5689 #C5CD56 #56CD9A
square
#5E56CD #CD5689 #C5CD56 #56CD9A
split-complementary
#5E56CD #CD9A56 #89CD56
monochromatic
#2D2682 #3D34B1 #5E56CD #8B85DB #B8B4E9

Accessibility & contrast

On white

5.69
#5E56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5E56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56CD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56CD#FFFFFF#000000##FFFFFF
##5E56CD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#2B7289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e56cd;
/* rgb */ color: rgb(94, 86, 205);
/* oklch */ color: oklch(52.7% 0.178 281.4);
Tailwind
colors: {
  custom: {
    50: '#9586dd',
    500: '#5e56cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e56cd;
$custom-light: #9586dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56cd",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 244.034,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.17809,
    "h": 281.4
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#5E56CD
secondary
#D4D8A7
accent
#DE4AD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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