#5B60D4#5B60D4

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

Color values

HEX#5B60D4
RGBrgb(91, 96, 212)
HSLhsl(238, 58%, 59%)
HSVhsv(238, 57%, 83%)
CMYKcmyk(57.1%, 54.7%, 0%, 16.9%)
CIE-LABlab(46.10, 31.58, -60.61)
CIE-LCHlch(46.10, 68.34, 297.53°)
OKLaboklab(54.79% 0.0216 -0.1737)
OKLCHoklch(54.79% 0.175 277.1)
XYZxyz(20.3771, 15.3419, 64.1621)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60D4 #D4CF5B
analogous
#5B9CD4 #5B60D4 #935BD4
triadic
#5B60D4 #D45B60 #60D45B
tetradic
#5B60D4 #D45B9C #D4CF5B #5BD493
square
#5B60D4 #D45B9C #D4CF5B #5BD493
split-complementary
#5B60D4 #D4935B #9CD45B
monochromatic
#262A8F #3238C0 #5B60D4 #8B8FE1 #BCBEED

Accessibility & contrast

On white

5.16
#5B60D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5B60D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B60D4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B60D4#FFFFFF#000000##FFFFFF
##5B60D41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D72D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#0F7B91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b60d4;
/* rgb */ color: rgb(91, 96, 212);
/* oklch */ color: oklch(54.8% 0.175 277.1);
Tailwind
colors: {
  custom: {
    50: '#938de2',
    500: '#5b60d4',
    950: '#000000',
  },
}
SCSS
$custom: #5b60d4;
$custom-light: #938de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60d4",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 212
  },
  "hsl": {
    "h": 237.521,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.17502,
    "h": 277.1
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#5B60D4
secondary
#DDDBAE
accent
#DB46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B60D4

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

Preview Lab → · Contrast checker → · Palette generator →

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