#5B60B2#5B60B2

#5B60B2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.127 H 278.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5B60B2
RGBrgb(91, 96, 178)
HSLhsl(237, 36%, 53%)
HSVhsv(237, 49%, 70%)
CMYKcmyk(48.9%, 46.1%, 0%, 30.2%)
CIE-LABlab(43.95, 20.69, -44.39)
CIE-LCHlch(43.95, 48.98, 294.99°)
OKLaboklab(52.48% 0.0186 -0.126)
OKLCHoklch(52.48% 0.127 278.4)
XYZxyz(16.5307, 13.8033, 43.9041)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60B2 #B2AD5B
analogous
#5B8BB2 #5B60B2 #825BB2
triadic
#5B60B2 #B25B60 #60B25B
tetradic
#5B60B2 #B25B8B #B2AD5B #5BB282
square
#5B60B2 #B25B8B #B2AD5B #5BB282
split-complementary
#5B60B2 #B2825B #8BB25B
monochromatic
#2F3264 #42478D #5B60B2 #8588C6 #AEB1D9

Accessibility & contrast

On white

5.58
#5B60B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5B60B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60B2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60B2#FFFFFF#000000##FFFFFF
##5B60B21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#3A7180
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b60b2;
/* rgb */ color: rgb(91, 96, 178);
/* oklch */ color: oklch(52.5% 0.127 278.4);
Tailwind
colors: {
  custom: {
    50: '#8f8dc9',
    500: '#5b60b2',
    950: '#000000',
  },
}
SCSS
$custom: #5b60b2;
$custom-light: #8f8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60b2",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 236.552,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.1274,
    "h": 278.4
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#5B60B2
secondary
#C7C5A2
accent
#C65CCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5B60B2

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

Preview Lab → · Contrast checker → · Palette generator →

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