#5D56CE#5D56CE

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

Color values

HEX#5D56CE
RGBrgb(93, 86, 206)
HSLhsl(244, 55%, 57%)
HSVhsv(244, 58%, 81%)
CMYKcmyk(54.9%, 58.3%, 0%, 19.2%)
CIE-LABlab(43.42, 36.14, -61.50)
CIE-LCHlch(43.42, 71.34, 300.44°)
OKLaboklab(52.7% 0.034 -0.1763)
OKLCHoklch(52.7% 0.18 280.9)
XYZxyz(18.9791, 13.4378, 59.9742)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56CE #C7CE56
analogous
#568BCE #5D56CE #9956CE
triadic
#5D56CE #CE5D56 #56CE5D
tetradic
#5D56CE #CE568B #C7CE56 #56CE99
square
#5D56CE #CE568B #C7CE56 #56CE99
split-complementary
#5D56CE #CE9956 #8BCE56
monochromatic
#2C2683 #3B34B3 #5D56CE #8A85DC #B8B5EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D56CE#FFFFFF#000000##FFFFFF
##5D56CE1.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)
#006BD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#27728A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d56ce;
/* rgb */ color: rgb(93, 86, 206);
/* oklch */ color: oklch(52.7% 0.180 280.9);
Tailwind
colors: {
  custom: {
    50: '#9486de',
    500: '#5d56ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d56ce;
$custom-light: #9486de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56ce",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 243.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.17958,
    "h": 280.9
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#5D56CE
secondary
#D5D8A8
accent
#DE49D6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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