#5B60BA#5B60BA

#5B60BA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.139 H 278.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5B60BA
RGBrgb(91, 96, 186)
HSLhsl(237, 41%, 54%)
HSVhsv(237, 51%, 73%)
CMYKcmyk(51.1%, 48.4%, 0%, 27.1%)
CIE-LABlab(44.42, 23.22, -48.31)
CIE-LCHlch(44.42, 53.60, 295.68°)
OKLaboklab(52.99% 0.0197 -0.1375)
OKLCHoklch(52.99% 0.139 278.1)
XYZxyz(17.3574, 14.1340, 48.2584)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60BA #BAB55B
analogous
#5B90BA #5B60BA #865BBA
triadic
#5B60BA #BA5B60 #60BA5B
tetradic
#5B60BA #BA5B90 #BAB55B #5BBA86
square
#5B60BA #BA5B90 #BAB55B #5BBA86
split-complementary
#5B60BA #BA865B #90BA5B
monochromatic
#2E316D #404598 #5B60BA #868ACC #B1B4DE

Accessibility & contrast

On white

5.49
#5B60BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5B60BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60BA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60BA#FFFFFF#000000##FFFFFF
##5B60BA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#2E65B8
Tritanopia (blue-blind)
#347484
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b60ba;
/* rgb */ color: rgb(91, 96, 186);
/* oklch */ color: oklch(53.0% 0.139 278.1);
Tailwind
colors: {
  custom: {
    50: '#908dcf',
    500: '#5b60ba',
    950: '#000000',
  },
}
SCSS
$custom: #5b60ba;
$custom-light: #908dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60ba",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 236.842,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.13891,
    "h": 278.1
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#5B60BA
secondary
#CDCAA4
accent
#CA57D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5B60BA

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

Preview Lab → · Contrast checker → · Palette generator →

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