#5B60EA#5B60EA

#5B60EA is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.204 H 276.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B60EA
RGBrgb(91, 96, 234)
HSLhsl(238, 77%, 64%)
HSVhsv(238, 61%, 92%)
CMYKcmyk(61.1%, 59%, 0%, 8.2%)
CIE-LABlab(47.66, 38.72, -70.55)
CIE-LCHlch(47.66, 80.48, 298.76°)
OKLaboklab(56.44% 0.0217 -0.2029)
OKLCHoklch(56.44% 0.204 276.1)
XYZxyz(23.3437, 16.5285, 79.7861)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60EA #EAE55B
analogous
#5BA7EA #5B60EA #9D5BEA
triadic
#5B60EA #EA5B60 #60EA5B
tetradic
#5B60EA #EA5BA7 #EAE55B #5BEA9D
square
#5B60EA #EA5BA7 #EAE55B #5BEA9D
split-complementary
#5B60EA #EA9D5B #A7EA5B
monochromatic
#171CB4 #252BE3 #5B60EA #9195F1 #C8C9F8

Accessibility & contrast

On white

4.88
#5B60EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5B60EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60EA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60EA#FFFFFF#000000##FFFFFF
##5B60EA1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b60ea;
/* rgb */ color: rgb(91, 96, 234);
/* oklch */ color: oklch(56.4% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#978df2',
    500: '#5b60ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b60ea;
$custom-light: #978df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60ea",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 237.902,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.20409,
    "h": 276.1
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#5B60EA
secondary
#EAE8B7
accent
#D20CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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