#5B60E4#5B60E4

#5B60E4 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.196 H 276.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5B60E4
RGBrgb(91, 96, 228)
HSLhsl(238, 72%, 63%)
HSVhsv(238, 60%, 89%)
CMYKcmyk(60.1%, 57.9%, 0%, 10.6%)
CIE-LABlab(47.22, 36.78, -67.88)
CIE-LCHlch(47.22, 77.20, 298.45°)
OKLaboklab(55.98% 0.0218 -0.1951)
OKLCHoklch(55.98% 0.196 276.4)
XYZxyz(22.4963, 16.1896, 75.3232)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60E4 #E4DF5B
analogous
#5BA5E4 #5B60E4 #9A5BE4
triadic
#5B60E4 #E45B60 #60E45B
tetradic
#5B60E4 #E45BA5 #E4DF5B #5BE49A
square
#5B60E4 #E45BA5 #E4DF5B #5BE49A
split-complementary
#5B60E4 #E49A5B #A5E45B
monochromatic
#1C21A9 #262DDB #5B60E4 #9093ED #C4C6F5

Accessibility & contrast

On white

4.95
#5B60E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5B60E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60E4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60E4#FFFFFF#000000##FFFFFF
##5B60E41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b60e4;
/* rgb */ color: rgb(91, 96, 228);
/* oklch */ color: oklch(56.0% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#968ded',
    500: '#5b60e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b60e4;
$custom-light: #968ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60e4",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 237.81,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.19628,
    "h": 276.4
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

primary
#5B60E4
secondary
#E6E4B4
accent
#CD12D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5B60E4

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

Preview Lab → · Contrast checker → · Palette generator →

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