#5B60B8#5B60B8

#5B60B8 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.136 H 278.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B60B8
RGBrgb(91, 96, 184)
HSLhsl(237, 40%, 54%)
HSVhsv(237, 51%, 72%)
CMYKcmyk(50.5%, 47.8%, 0%, 27.8%)
CIE-LABlab(44.30, 22.59, -47.33)
CIE-LCHlch(44.30, 52.45, 295.51°)
OKLaboklab(52.86% 0.0194 -0.1347)
OKLCHoklch(52.86% 0.136 278.2)
XYZxyz(17.1463, 14.0496, 47.1465)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60B8 #B8B35B
analogous
#5B8FB8 #5B60B8 #855BB8
triadic
#5B60B8 #B85B60 #60B85B
tetradic
#5B60B8 #B85B8F #B8B35B #5BB885
square
#5B60B8 #B85B8F #B8B35B #5BB885
split-complementary
#5B60B8 #B8855B #8FB85B
monochromatic
#2E316A #414595 #5B60B8 #8689CA #B0B3DD

Accessibility & contrast

On white

5.51
#5B60B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5B60B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60B8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60B8#FFFFFF#000000##FFFFFF
##5B60B81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBB
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#367383
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b60b8;
/* rgb */ color: rgb(91, 96, 184);
/* oklch */ color: oklch(52.9% 0.136 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f8dce',
    500: '#5b60b8',
    950: '#000000',
  },
}
SCSS
$custom: #5b60b8;
$custom-light: #8f8dce;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60b8",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 184
  },
  "hsl": {
    "h": 236.774,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.13605,
    "h": 278.2
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#5B60B8
secondary
#CBC9A4
accent
#C958CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5B60B8

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

Preview Lab → · Contrast checker → · Palette generator →

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