#5B60EC#5B60EC

#5B60EC is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.6% C 0.207 H 276.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5B60EC
RGBrgb(91, 96, 236)
HSLhsl(238, 79%, 64%)
HSVhsv(238, 61%, 93%)
CMYKcmyk(61.4%, 59.3%, 0%, 7.5%)
CIE-LABlab(47.81, 39.37, -71.43)
CIE-LCHlch(47.81, 81.57, 298.86°)
OKLaboklab(56.59% 0.0217 -0.2055)
OKLCHoklch(56.59% 0.207 276)
XYZxyz(23.6326, 16.6441, 81.3079)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60EC #ECE75B
analogous
#5BA9EC #5B60EC #9F5BEC
triadic
#5B60EC #EC5B60 #60EC5B
tetradic
#5B60EC #EC5BA9 #ECE75B #5BEC9F
square
#5B60EC #EC5BA9 #ECE75B #5BEC9F
split-complementary
#5B60EC #EC9F5B #A9EC5B
monochromatic
#151BB7 #242BE6 #5B60EC #9295F2 #C9CAF9

Accessibility & contrast

On white

4.85
#5B60EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5B60EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60EC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60EC#FFFFFF#000000##FFFFFF
##5B60EC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b60ec;
/* rgb */ color: rgb(91, 96, 236);
/* oklch */ color: oklch(56.6% 0.207 276.0);
Tailwind
colors: {
  custom: {
    50: '#978df3',
    500: '#5b60ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b60ec;
$custom-light: #978df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60ec",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 237.931,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.20667,
    "h": 276
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#5B60EC
secondary
#EBE9B8
accent
#D40ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B60EC

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

Preview Lab → · Contrast checker → · Palette generator →

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