#5B56E0#5B56E0

#5B56E0 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.203 H 278.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B56E0
RGBrgb(91, 86, 224)
HSLhsl(242, 69%, 61%)
HSVhsv(242, 62%, 88%)
CMYKcmyk(59.4%, 61.6%, 0%, 12.2%)
CIE-LABlab(44.60, 41.49, -69.87)
CIE-LCHlch(44.60, 81.26, 300.70°)
OKLaboklab(53.95% 0.0308 -0.201)
OKLCHoklch(53.95% 0.203 278.7)
XYZxyz(21.0924, 14.2600, 72.1475)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B56E0 #DBE056
analogous
#5696E0 #5B56E0 #A056E0
triadic
#5B56E0 #E05B56 #56E05B
tetradic
#5B56E0 #E05696 #DBE056 #56E0A0
square
#5B56E0 #E05696 #DBE056 #56E0A0
split-complementary
#5B56E0 #E0A056 #96E056
monochromatic
#221D9F #2D27D2 #5B56E0 #8D8AE9 #BFBDF3

Accessibility & contrast

On white

5.45
#5B56E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5B56E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B56E0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B56E0#FFFFFF#000000##FFFFFF
##5B56E01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b56e0;
/* rgb */ color: rgb(91, 86, 224);
/* oklch */ color: oklch(54.0% 0.203 278.7);
Tailwind
colors: {
  custom: {
    50: '#9686eb',
    500: '#5b56e0',
    950: '#000000',
  },
}
SCSS
$custom: #5b56e0;
$custom-light: #9686eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b56e0",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 242.174,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.20335,
    "h": 278.7
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#5B56E0
secondary
#E1E3AF
accent
#D115CA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B56E0

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

Preview Lab → · Contrast checker → · Palette generator →

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