#5B60CF#5B60CF

#5B60CF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.168 H 277.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5B60CF
RGBrgb(91, 96, 207)
HSLhsl(237, 55%, 58%)
HSVhsv(237, 56%, 81%)
CMYKcmyk(56%, 53.6%, 0%, 18.8%)
CIE-LABlab(45.76, 29.97, -58.29)
CIE-LCHlch(45.76, 65.54, 297.21°)
OKLaboklab(54.43% 0.0214 -0.1669)
OKLCHoklch(54.43% 0.168 277.3)
XYZxyz(19.7562, 15.0935, 60.8917)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60CF #CFCA5B
analogous
#5B9ACF #5B60CF #905BCF
triadic
#5B60CF #CF5B60 #60CF5B
tetradic
#5B60CF #CF5B9A #CFCA5B #5BCF90
square
#5B60CF #CF5B9A #CFCA5B #5BCF90
split-complementary
#5B60CF #CF905B #9ACF5B
monochromatic
#282C88 #363BB7 #5B60CF #8A8EDD #BABCEB

Accessibility & contrast

On white

5.23
#5B60CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5B60CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60CF#FFFFFF#000000##FFFFFF
##5B60CF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#1B798E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b60cf;
/* rgb */ color: rgb(91, 96, 207);
/* oklch */ color: oklch(54.4% 0.168 277.3);
Tailwind
colors: {
  custom: {
    50: '#938dde',
    500: '#5b60cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b60cf;
$custom-light: #938dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60cf",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 207
  },
  "hsl": {
    "h": 237.414,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.16823,
    "h": 277.3
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#5B60CF
secondary
#DAD8AC
accent
#D84ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B60CF

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

Preview Lab → · Contrast checker → · Palette generator →

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