#5B60CA#5B60CA

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

Color values

HEX#5B60CA
RGBrgb(91, 96, 202)
HSLhsl(237, 51%, 57%)
HSVhsv(237, 55%, 79%)
CMYKcmyk(55%, 52.5%, 0%, 20.8%)
CIE-LABlab(45.43, 28.35, -55.95)
CIE-LCHlch(45.43, 62.72, 296.87°)
OKLaboklab(54.07% 0.0211 -0.16)
OKLCHoklch(54.07% 0.161 277.5)
XYZxyz(19.1545, 14.8529, 57.7232)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60CA #CAC55B
analogous
#5B98CA #5B60CA #8D5BCA
triadic
#5B60CA #CA5B60 #60CA5B
tetradic
#5B60CA #CA5B98 #CAC55B #5BCA8D
square
#5B60CA #CA5B98 #CAC55B #5BCA8D
split-complementary
#5B60CA #CA8D5B #98CA5B
monochromatic
#2A2E81 #393EAF #5B60CA #898DD9 #B8BAE8

Accessibility & contrast

On white

5.29
#5B60CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5B60CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60CA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60CA#FFFFFF#000000##FFFFFF
##5B60CA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0E67C8
Tritanopia (blue-blind)
#23788C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b60ca;
/* rgb */ color: rgb(91, 96, 202);
/* oklch */ color: oklch(54.1% 0.161 277.5);
Tailwind
colors: {
  custom: {
    50: '#928ddb',
    500: '#5b60ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b60ca;
$custom-light: #928ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60ca",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 237.297,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.16136,
    "h": 277.5
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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