#5B60EB#5B60EB

#5B60EB is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.5% C 0.205 H 276.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5B60EB
RGBrgb(91, 96, 235)
HSLhsl(238, 78%, 64%)
HSVhsv(238, 61%, 92%)
CMYKcmyk(61.3%, 59.1%, 0%, 7.8%)
CIE-LABlab(47.73, 39.05, -70.99)
CIE-LCHlch(47.73, 81.02, 298.81°)
OKLaboklab(56.52% 0.0217 -0.2042)
OKLCHoklch(56.52% 0.205 276.1)
XYZxyz(23.4878, 16.5862, 80.5449)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60EB #EBE65B
analogous
#5BA8EB #5B60EB #9E5BEB
triadic
#5B60EB #EB5B60 #60EB5B
tetradic
#5B60EB #EB5BA8 #EBE65B #5BEB9E
square
#5B60EB #EB5BA8 #EBE65B #5BEB9E
split-complementary
#5B60EB #EB9E5B #A8EB5B
monochromatic
#161CB5 #242BE4 #5B60EB #9295F2 #C8CAF8

Accessibility & contrast

On white

4.86
#5B60EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5B60EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60EB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60EB#FFFFFF#000000##FFFFFF
##5B60EB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b60eb;
/* rgb */ color: rgb(91, 96, 235);
/* oklch */ color: oklch(56.5% 0.205 276.1);
Tailwind
colors: {
  custom: {
    50: '#978df2',
    500: '#5b60eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b60eb;
$custom-light: #978df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60eb",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 237.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.20538,
    "h": 276.1
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#5B60EB
secondary
#EAE8B8
accent
#D30BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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