#5B60C2#5B60C2

#5B60C2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.150 H 277.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5B60C2
RGBrgb(91, 96, 194)
HSLhsl(237, 46%, 56%)
HSVhsv(237, 53%, 76%)
CMYKcmyk(53.1%, 50.5%, 0%, 23.9%)
CIE-LABlab(44.92, 25.78, -52.16)
CIE-LCHlch(44.92, 58.18, 296.30°)
OKLaboklab(53.52% 0.0205 -0.1488)
OKLCHoklch(53.52% 0.15 277.8)
XYZxyz(18.2318, 14.4838, 52.8634)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60C2 #C2BD5B
analogous
#5B93C2 #5B60C2 #895BC2
triadic
#5B60C2 #C25B60 #60C25B
tetradic
#5B60C2 #C25B93 #C2BD5B #5BC289
square
#5B60C2 #C25B93 #C2BD5B #5BC289
split-complementary
#5B60C2 #C2895B #93C25B
monochromatic
#2C3077 #3D42A3 #5B60C2 #888BD3 #B4B6E3

Accessibility & contrast

On white

5.39
#5B60C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5B60C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60C2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60C2#FFFFFF#000000##FFFFFF
##5B60C21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC5
Deuteranopia (green-blind)
#2266C0
Tritanopia (blue-blind)
#2D7688
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b60c2;
/* rgb */ color: rgb(91, 96, 194);
/* oklch */ color: oklch(53.5% 0.150 277.8);
Tailwind
colors: {
  custom: {
    50: '#918dd5',
    500: '#5b60c2',
    950: '#000000',
  },
}
SCSS
$custom: #5b60c2;
$custom-light: #918dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60c2",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 237.087,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.15023,
    "h": 277.8
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#5B60C2
secondary
#D2D0A7
accent
#CF52D5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5B60C2

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

Preview Lab → · Contrast checker → · Palette generator →

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