#5B60E1#5B60E1

#5B60E1 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.7% C 0.192 H 276.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5B60E1
RGBrgb(91, 96, 225)
HSLhsl(238, 69%, 62%)
HSVhsv(238, 60%, 88%)
CMYKcmyk(59.6%, 57.3%, 0%, 11.8%)
CIE-LABlab(47.01, 35.80, -66.53)
CIE-LCHlch(47.01, 75.55, 298.29°)
OKLaboklab(55.75% 0.0218 -0.1911)
OKLCHoklch(55.75% 0.192 276.5)
XYZxyz(22.0835, 16.0245, 73.1489)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60E1 #E1DC5B
analogous
#5BA3E1 #5B60E1 #995BE1
triadic
#5B60E1 #E15B60 #60E15B
tetradic
#5B60E1 #E15BA3 #E1DC5B #5BE199
square
#5B60E1 #E15BA3 #E1DC5B #5BE199
split-complementary
#5B60E1 #E1995B #A3E15B
monochromatic
#1E23A4 #272ED7 #5B60E1 #8F92EA #C2C4F4

Accessibility & contrast

On white

4.99
#5B60E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5B60E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60E1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60E1#FFFFFF#000000##FFFFFF
##5B60E11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b60e1;
/* rgb */ color: rgb(91, 96, 225);
/* oklch */ color: oklch(55.7% 0.192 276.5);
Tailwind
colors: {
  custom: {
    50: '#968deb',
    500: '#5b60e1',
    950: '#000000',
  },
}
SCSS
$custom: #5b60e1;
$custom-light: #968deb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60e1",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 237.761,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.19235,
    "h": 276.5
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#5B60E1
secondary
#E5E3B3
accent
#CA14D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B60E1

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

Preview Lab → · Contrast checker → · Palette generator →

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