#5B60CB#5B60CB

#5B60CB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.163 H 277.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5B60CB
RGBrgb(91, 96, 203)
HSLhsl(237, 52%, 58%)
HSVhsv(237, 55%, 80%)
CMYKcmyk(55.2%, 52.7%, 0%, 20.4%)
CIE-LABlab(45.50, 28.67, -56.42)
CIE-LCHlch(45.50, 63.29, 296.94°)
OKLaboklab(54.14% 0.0211 -0.1614)
OKLCHoklch(54.14% 0.163 277.5)
XYZxyz(19.2733, 14.9004, 58.3488)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60CB #CBC65B
analogous
#5B98CB #5B60CB #8E5BCB
triadic
#5B60CB #CB5B60 #60CB5B
tetradic
#5B60CB #CB5B98 #CBC65B #5BCB8E
square
#5B60CB #CB5B98 #CBC65B #5BCB8E
split-complementary
#5B60CB #CB8E5B #98CB5B
monochromatic
#292D82 #383DB1 #5B60CB #898DDA #B8BAE8

Accessibility & contrast

On white

5.28
#5B60CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5B60CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60CB#FFFFFF#000000##FFFFFF
##5B60CB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2370CF
Deuteranopia (green-blind)
#0A67C9
Tritanopia (blue-blind)
#22788C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b60cb;
/* rgb */ color: rgb(91, 96, 203);
/* oklch */ color: oklch(54.1% 0.163 277.5);
Tailwind
colors: {
  custom: {
    50: '#928ddb',
    500: '#5b60cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b60cb;
$custom-light: #928ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60cb",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 237.321,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.16275,
    "h": 277.5
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#5B60CB
secondary
#D7D5AA
accent
#D54CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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