#5D56E8#5D56E8

#5D56E8 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.213 H 278.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5D56E8
RGBrgb(93, 86, 232)
HSLhsl(243, 76%, 62%)
HSVhsv(243, 63%, 91%)
CMYKcmyk(59.9%, 62.9%, 0%, 9%)
CIE-LABlab(45.37, 44.34, -73.15)
CIE-LCHlch(45.37, 85.54, 301.22°)
OKLaboklab(54.74% 0.0327 -0.2106)
OKLCHoklch(54.74% 0.213 278.8)
XYZxyz(22.4028, 14.8073, 78.0058)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56E8 #E1E856
analogous
#5698E8 #5D56E8 #A656E8
triadic
#5D56E8 #E85D56 #56E85D
tetradic
#5D56E8 #E85698 #E1E856 #56E8A6
square
#5D56E8 #E85698 #E1E856 #56E8A6
split-complementary
#5D56E8 #E8A656 #98E856
monochromatic
#1F17AC #2920E1 #5D56E8 #918CEF #C4C2F7

Accessibility & contrast

On white

5.30
#5D56E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5D56E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56E8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56E8#FFFFFF#000000##FFFFFF
##5D56E81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d56e8;
/* rgb */ color: rgb(93, 86, 232);
/* oklch */ color: oklch(54.7% 0.213 278.8);
Tailwind
colors: {
  custom: {
    50: '#9886f0',
    500: '#5d56e8',
    950: '#000000',
  },
}
SCSS
$custom: #5d56e8;
$custom-light: #9886f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56e8",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 242.877,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54743,
    "c": 0.21309,
    "h": 278.8
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#5D56E8
secondary
#E5E8B2
accent
#D80DCF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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