#5B60E6#5B60E6

#5B60E6 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.1% C 0.199 H 276.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5B60E6
RGBrgb(91, 96, 230)
HSLhsl(238, 74%, 63%)
HSVhsv(238, 60%, 90%)
CMYKcmyk(60.4%, 58.3%, 0%, 9.8%)
CIE-LABlab(47.37, 37.43, -68.77)
CIE-LCHlch(47.37, 78.30, 298.55°)
OKLaboklab(56.13% 0.0218 -0.1977)
OKLCHoklch(56.13% 0.199 276.3)
XYZxyz(22.7755, 16.3013, 76.7938)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60E6 #E6E15B
analogous
#5BA5E6 #5B60E6 #9C5BE6
triadic
#5B60E6 #E65B60 #60E65B
tetradic
#5B60E6 #E65BA5 #E6E15B #5BE69C
square
#5B60E6 #E65BA5 #E6E15B #5BE69C
split-complementary
#5B60E6 #E69C5B #A5E65B
monochromatic
#1A20AC #262DDE #5B60E6 #9093EE #C5C7F6

Accessibility & contrast

On white

4.93
#5B60E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5B60E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60E6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60E6#FFFFFF#000000##FFFFFF
##5B60E61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b60e6;
/* rgb */ color: rgb(91, 96, 230);
/* oklch */ color: oklch(56.1% 0.199 276.3);
Tailwind
colors: {
  custom: {
    50: '#968def',
    500: '#5b60e6',
    950: '#000000',
  },
}
SCSS
$custom: #5b60e6;
$custom-light: #968def;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60e6",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 237.842,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.19889,
    "h": 276.3
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#5B60E6
secondary
#E7E6B5
accent
#CF10D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B60E6

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

Preview Lab → · Contrast checker → · Palette generator →

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