#5D56E0#5D56E0

#5D56E0 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.203 H 279.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D56E0
RGBrgb(93, 86, 224)
HSLhsl(243, 69%, 61%)
HSVhsv(243, 62%, 88%)
CMYKcmyk(58.5%, 61.6%, 0%, 12.2%)
CIE-LABlab(44.75, 41.82, -69.63)
CIE-LCHlch(44.75, 81.22, 300.99°)
OKLaboklab(54.1% 0.0333 -0.2002)
OKLCHoklch(54.1% 0.203 279.4)
XYZxyz(21.2923, 14.3630, 72.1569)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56E0 #D9E056
analogous
#5694E0 #5D56E0 #A256E0
triadic
#5D56E0 #E05D56 #56E05D
tetradic
#5D56E0 #E05694 #D9E056 #56E0A2
square
#5D56E0 #E05694 #D9E056 #56E0A2
split-complementary
#5D56E0 #E0A256 #94E056
monochromatic
#241D9F #2F27D2 #5D56E0 #8F8AE9 #C0BDF3

Accessibility & contrast

On white

5.42
#5D56E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5D56E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56E0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56E0#FFFFFF#000000##FFFFFF
##5D56E01.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d56e0;
/* rgb */ color: rgb(93, 86, 224);
/* oklch */ color: oklch(54.1% 0.203 279.4);
Tailwind
colors: {
  custom: {
    50: '#9786eb',
    500: '#5d56e0',
    950: '#000000',
  },
}
SCSS
$custom: #5d56e0;
$custom-light: #9786eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56e0",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 243.043,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.20297,
    "h": 279.4
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#5D56E0
secondary
#E0E3AF
accent
#D115C7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D56E0

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

Preview Lab → · Contrast checker → · Palette generator →

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