#5D56E4#5D56E4

#5D56E4 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.208 H 279.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D56E4
RGBrgb(93, 86, 228)
HSLhsl(243, 72%, 62%)
HSVhsv(243, 62%, 89%)
CMYKcmyk(59.2%, 62.3%, 0%, 10.6%)
CIE-LABlab(45.06, 43.08, -71.40)
CIE-LCHlch(45.06, 83.38, 301.10°)
OKLaboklab(54.42% 0.033 -0.2054)
OKLCHoklch(54.42% 0.208 279.1)
XYZxyz(21.8411, 14.5826, 75.0475)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56E4 #DDE456
analogous
#5696E4 #5D56E4 #A456E4
triadic
#5D56E4 #E45D56 #56E45D
tetradic
#5D56E4 #E45696 #DDE456 #56E4A4
square
#5D56E4 #E45696 #DDE456 #56E4A4
split-complementary
#5D56E4 #E4A456 #96E456
monochromatic
#211AA5 #2C23DA #5D56E4 #908BEC #C2C0F5

Accessibility & contrast

On white

5.36
#5D56E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5D56E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56E4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56E4#FFFFFF#000000##FFFFFF
##5D56E41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d56e4;
/* rgb */ color: rgb(93, 86, 228);
/* oklch */ color: oklch(54.4% 0.208 279.1);
Tailwind
colors: {
  custom: {
    50: '#9886ee',
    500: '#5d56e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d56e4;
$custom-light: #9886ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56e4",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 242.958,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.20805,
    "h": 279.1
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#5D56E4
secondary
#E3E5B0
accent
#D511CB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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