#5B60D7#5B60D7

#5B60D7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.0% C 0.179 H 276.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5B60D7
RGBrgb(91, 96, 215)
HSLhsl(238, 61%, 60%)
HSVhsv(238, 58%, 84%)
CMYKcmyk(57.7%, 55.3%, 0%, 15.7%)
CIE-LABlab(46.30, 32.56, -61.99)
CIE-LCHlch(46.30, 70.02, 297.71°)
OKLaboklab(55% 0.0217 -0.1777)
OKLCHoklch(55% 0.179 276.9)
XYZxyz(20.7591, 15.4947, 66.1737)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60D7 #D7D25B
analogous
#5B9ED7 #5B60D7 #945BD7
triadic
#5B60D7 #D75B60 #60D75B
tetradic
#5B60D7 #D75B9E #D7D25B #5BD794
square
#5B60D7 #D75B9E #D7D25B #5BD794
split-complementary
#5B60D7 #D7945B #9ED75B
monochromatic
#242894 #3036C5 #5B60D7 #8C90E3 #BDBFEF

Accessibility & contrast

On white

5.12
#5B60D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5B60D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60D7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60D7#FFFFFF#000000##FFFFFF
##5B60D71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#037C92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b60d7;
/* rgb */ color: rgb(91, 96, 215);
/* oklch */ color: oklch(55.0% 0.179 276.9);
Tailwind
colors: {
  custom: {
    50: '#948de4',
    500: '#5b60d7',
    950: '#000000',
  },
}
SCSS
$custom: #5b60d7;
$custom-light: #948de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60d7",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 215
  },
  "hsl": {
    "h": 237.581,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.17906,
    "h": 276.9
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#5B60D7
secondary
#DFDDAF
accent
#DD44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B60D7

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

Preview Lab → · Contrast checker → · Palette generator →

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