#5B60DC#5B60DC

#5B60DC is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.4% C 0.186 H 276.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5B60DC
RGBrgb(91, 96, 220)
HSLhsl(238, 65%, 61%)
HSVhsv(238, 59%, 86%)
CMYKcmyk(58.6%, 56.4%, 0%, 13.7%)
CIE-LABlab(46.65, 34.18, -64.27)
CIE-LCHlch(46.65, 72.79, 298.00°)
OKLaboklab(55.37% 0.0217 -0.1845)
OKLCHoklch(55.37% 0.186 276.7)
XYZxyz(21.4114, 15.7556, 69.6091)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60DC #DCD75B
analogous
#5BA0DC #5B60DC #965BDC
triadic
#5B60DC #DC5B60 #60DC5B
tetradic
#5B60DC #DC5BA0 #DCD75B #5BDC96
square
#5B60DC #DC5BA0 #DCD75B #5BDC96
split-complementary
#5B60DC #DC965B #A0DC5B
monochromatic
#21269B #2C32CE #5B60DC #8D91E7 #C0C2F2

Accessibility & contrast

On white

5.06
#5B60DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5B60DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60DC#FFFFFF#000000##FFFFFF
##5B60DC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b60dc;
/* rgb */ color: rgb(91, 96, 220);
/* oklch */ color: oklch(55.4% 0.186 276.7);
Tailwind
colors: {
  custom: {
    50: '#958de8',
    500: '#5b60dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b60dc;
$custom-light: #958de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60dc",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 237.674,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.18574,
    "h": 276.7
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#5B60DC
secondary
#E2E0B1
accent
#C619CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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