#5B60D3#5B60D3

#5B60D3 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.174 H 277.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5B60D3
RGBrgb(91, 96, 211)
HSLhsl(238, 58%, 59%)
HSVhsv(238, 57%, 83%)
CMYKcmyk(56.9%, 54.5%, 0%, 17.3%)
CIE-LABlab(46.03, 31.26, -60.15)
CIE-LCHlch(46.03, 67.79, 297.46°)
OKLaboklab(54.71% 0.0215 -0.1723)
OKLCHoklch(54.71% 0.174 277.1)
XYZxyz(20.2514, 15.2916, 63.4998)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60D3 #D3CE5B
analogous
#5B9CD3 #5B60D3 #925BD3
triadic
#5B60D3 #D35B60 #60D35B
tetradic
#5B60D3 #D35B9C #D3CE5B #5BD392
square
#5B60D3 #D35B9C #D3CE5B #5BD392
split-complementary
#5B60D3 #D3925B #9CD35B
monochromatic
#262A8E #3339BE #5B60D3 #8B8FE0 #BCBEED

Accessibility & contrast

On white

5.17
#5B60D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5B60D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60D3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60D3#FFFFFF#000000##FFFFFF
##5B60D31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1172D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#127B90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b60d3;
/* rgb */ color: rgb(91, 96, 211);
/* oklch */ color: oklch(54.7% 0.174 277.1);
Tailwind
colors: {
  custom: {
    50: '#938de1',
    500: '#5b60d3',
    950: '#000000',
  },
}
SCSS
$custom: #5b60d3;
$custom-light: #938de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60d3",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 211
  },
  "hsl": {
    "h": 237.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.17367,
    "h": 277.1
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#5B60D3
secondary
#DCDAAD
accent
#DB47E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B60D3

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

Preview Lab → · Contrast checker → · Palette generator →

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