#5B6BDC#5B6BDC

#5B6BDC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.172 H 273.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5B6BDC
RGBrgb(91, 107, 220)
HSLhsl(233, 65%, 61%)
HSVhsv(233, 59%, 86%)
CMYKcmyk(58.6%, 51.4%, 0%, 13.7%)
CIE-LABlab(49.38, 27.43, -59.86)
CIE-LCHlch(49.38, 65.85, 294.62°)
OKLaboklab(57.42% 0.011 -0.1714)
OKLCHoklch(57.42% 0.172 273.7)
XYZxyz(22.4861, 17.9051, 69.9674)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BDC #DCCC5B
analogous
#5BABDC #5B6BDC #8B5BDC
triadic
#5B6BDC #DC5B6B #6BDC5B
tetradic
#5B6BDC #DC5BAB #DCCC5B #5BDC8B
square
#5B6BDC #DC5BAB #DCCC5B #5BDC8B
split-complementary
#5B6BDC #DC8B5B #ABDC5B
monochromatic
#21309B #2C40CE #5B6BDC #8D99E7 #C0C6F2

Accessibility & contrast

On white

4.58
#5B6BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5B6BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BDC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BDC#FFFFFF#000000##000000
##5B6BDC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BE0
Deuteranopia (green-blind)
#0670DA
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b6bdc;
/* rgb */ color: rgb(91, 107, 220);
/* oklch */ color: oklch(57.4% 0.172 273.7);
Tailwind
colors: {
  custom: {
    50: '#9495e8',
    500: '#5b6bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5b6bdc;
$custom-light: #9495e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6bdc",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 220
  },
  "hsl": {
    "h": 232.558,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.17173,
    "h": 273.7
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#5B6BDC
secondary
#E2DCB1
accent
#B619CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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