#5B60CC#5B60CC

#5B60CC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.164 H 277.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B60CC
RGBrgb(91, 96, 204)
HSLhsl(237, 53%, 58%)
HSVhsv(237, 55%, 80%)
CMYKcmyk(55.4%, 52.9%, 0%, 20%)
CIE-LABlab(45.56, 29.00, -56.89)
CIE-LCHlch(45.56, 63.85, 297.01°)
OKLaboklab(54.21% 0.0212 -0.1627)
OKLCHoklch(54.21% 0.164 277.4)
XYZxyz(19.3929, 14.9482, 58.9784)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60CC #CCC75B
analogous
#5B98CC #5B60CC #8E5BCC
triadic
#5B60CC #CC5B60 #60CC5B
tetradic
#5B60CC #CC5B98 #CCC75B #5BCC8E
square
#5B60CC #CC5B98 #CCC75B #5BCC8E
split-complementary
#5B60CC #CC8E5B #98CC5B
monochromatic
#292D84 #373DB2 #5B60CC #8A8DDB #B8BBE9

Accessibility & contrast

On white

5.26
#5B60CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5B60CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60CC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60CC#FFFFFF#000000##FFFFFF
##5B60CC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#0567CA
Tritanopia (blue-blind)
#20798D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b60cc;
/* rgb */ color: rgb(91, 96, 204);
/* oklch */ color: oklch(54.2% 0.164 277.4);
Tailwind
colors: {
  custom: {
    50: '#928ddc',
    500: '#5b60cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b60cc;
$custom-light: #928ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60cc",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 237.345,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.16412,
    "h": 277.4
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#5B60CC
secondary
#D8D6AB
accent
#D64CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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