#5B60DB#5B60DB

#5B60DB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.184 H 276.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5B60DB
RGBrgb(91, 96, 219)
HSLhsl(238, 64%, 61%)
HSVhsv(238, 58%, 86%)
CMYKcmyk(58.4%, 56.2%, 0%, 14.1%)
CIE-LABlab(46.58, 33.85, -63.82)
CIE-LCHlch(46.58, 72.24, 297.95°)
OKLaboklab(55.3% 0.0217 -0.1831)
OKLCHoklch(55.3% 0.184 276.8)
XYZxyz(21.2793, 15.7028, 68.9137)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60DB #DBD65B
analogous
#5BA0DB #5B60DB #965BDB
triadic
#5B60DB #DB5B60 #60DB5B
tetradic
#5B60DB #DB5BA0 #DBD65B #5BDB96
square
#5B60DB #DB5BA0 #DBD65B #5BDB96
split-complementary
#5B60DB #DB965B #A0DB5B
monochromatic
#22269A #2D33CC #5B60DB #8D91E6 #BFC1F1

Accessibility & contrast

On white

5.07
#5B60DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5B60DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60DB#FFFFFF#000000##FFFFFF
##5B60DB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b60db;
/* rgb */ color: rgb(91, 96, 219);
/* oklch */ color: oklch(55.3% 0.184 276.8);
Tailwind
colors: {
  custom: {
    50: '#958de7',
    500: '#5b60db',
    950: '#000000',
  },
}
SCSS
$custom: #5b60db;
$custom-light: #958de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60db",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 237.656,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.18441,
    "h": 276.8
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#5B60DB
secondary
#E1DFB1
accent
#C51ACC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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