#5B60D5#5B60D5

#5B60D5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.176 H 277.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5B60D5
RGBrgb(91, 96, 213)
HSLhsl(238, 59%, 60%)
HSVhsv(238, 57%, 84%)
CMYKcmyk(57.3%, 54.9%, 0%, 16.5%)
CIE-LABlab(46.17, 31.91, -61.07)
CIE-LCHlch(46.17, 68.90, 297.59°)
OKLaboklab(54.86% 0.0216 -0.175)
OKLCHoklch(54.86% 0.176 277)
XYZxyz(20.5036, 15.3925, 64.8285)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60D5 #D5D05B
analogous
#5B9DD5 #5B60D5 #935BD5
triadic
#5B60D5 #D55B60 #60D55B
tetradic
#5B60D5 #D55B9D #D5D05B #5BD593
square
#5B60D5 #D55B9D #D5D05B #5BD593
split-complementary
#5B60D5 #D5935B #9DD55B
monochromatic
#252991 #3237C1 #5B60D5 #8C8FE1 #BCBEEE

Accessibility & contrast

On white

5.15
#5B60D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5B60D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60D5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60D5#FFFFFF#000000##FFFFFF
##5B60D51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0973D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#0B7B91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b60d5;
/* rgb */ color: rgb(91, 96, 213);
/* oklch */ color: oklch(54.9% 0.176 277.0);
Tailwind
colors: {
  custom: {
    50: '#948de3',
    500: '#5b60d5',
    950: '#000000',
  },
}
SCSS
$custom: #5b60d5;
$custom-light: #948de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60d5",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 213
  },
  "hsl": {
    "h": 237.541,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.17637,
    "h": 277
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#5B60D5
secondary
#DEDCAE
accent
#DC45E2
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5B60D5

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

Preview Lab → · Contrast checker → · Palette generator →

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