#5D56E5#5D56E5

#5D56E5 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.209 H 279.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D56E5
RGBrgb(93, 86, 229)
HSLhsl(243, 73%, 62%)
HSVhsv(243, 62%, 90%)
CMYKcmyk(59.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(45.13, 43.39, -71.84)
CIE-LCHlch(45.13, 83.92, 301.13°)
OKLaboklab(54.5% 0.0329 -0.2067)
OKLCHoklch(54.5% 0.209 279)
XYZxyz(21.9803, 14.6383, 75.7807)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56E5 #DEE556
analogous
#5697E5 #5D56E5 #A556E5
triadic
#5D56E5 #E55D56 #56E55D
tetradic
#5D56E5 #E55697 #DEE556 #56E5A5
square
#5D56E5 #E55697 #DEE556 #56E5A5
split-complementary
#5D56E5 #E5A556 #97E556
monochromatic
#211AA7 #2B22DC #5D56E5 #908BED #C3C0F5

Accessibility & contrast

On white

5.35
#5D56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D56E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56E5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56E5#FFFFFF#000000##FFFFFF
##5D56E51.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d56e5;
/* rgb */ color: rgb(93, 86, 229);
/* oklch */ color: oklch(54.5% 0.209 279.0);
Tailwind
colors: {
  custom: {
    50: '#9886ee',
    500: '#5d56e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d56e5;
$custom-light: #9886ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56e5",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 242.937,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.20931,
    "h": 279
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#5D56E5
secondary
#E3E6B1
accent
#D510CC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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