#5B60E2#5B60E2

#5B60E2 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.8% C 0.194 H 276.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5B60E2
RGBrgb(91, 96, 226)
HSLhsl(238, 70%, 62%)
HSVhsv(238, 60%, 89%)
CMYKcmyk(59.7%, 57.5%, 0%, 11.4%)
CIE-LABlab(47.08, 36.13, -66.98)
CIE-LCHlch(47.08, 76.10, 298.34°)
OKLaboklab(55.82% 0.0218 -0.1924)
OKLCHoklch(55.82% 0.194 276.5)
XYZxyz(22.2203, 16.0792, 73.8694)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60E2 #E2DD5B
analogous
#5BA3E2 #5B60E2 #9A5BE2
triadic
#5B60E2 #E25B60 #60E25B
tetradic
#5B60E2 #E25BA3 #E2DD5B #5BE29A
square
#5B60E2 #E25BA3 #E2DD5B #5BE29A
split-complementary
#5B60E2 #E29A5B #A3E25B
monochromatic
#1D22A5 #272ED9 #5B60E2 #8F92EB #C3C5F4

Accessibility & contrast

On white

4.98
#5B60E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5B60E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60E2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60E2#FFFFFF#000000##FFFFFF
##5B60E21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b60e2;
/* rgb */ color: rgb(91, 96, 226);
/* oklch */ color: oklch(55.8% 0.194 276.5);
Tailwind
colors: {
  custom: {
    50: '#968dec',
    500: '#5b60e2',
    950: '#000000',
  },
}
SCSS
$custom: #5b60e2;
$custom-light: #968dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60e2",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 237.778,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.19367,
    "h": 276.5
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#5B60E2
secondary
#E5E3B4
accent
#CB14D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5B60E2

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

Preview Lab → · Contrast checker → · Palette generator →

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