#5B6DCD#5B6DCD

#5B6DCD is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.8% C 0.148 H 272.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5B6DCD
RGBrgb(91, 109, 205)
HSLhsl(231, 53%, 58%)
HSVhsv(231, 56%, 80%)
CMYKcmyk(55.6%, 46.8%, 0%, 19.6%)
CIE-LABlab(48.97, 21.27, -51.99)
CIE-LCHlch(48.97, 56.18, 292.25°)
OKLaboklab(56.8% 0.0073 -0.1482)
OKLCHoklch(56.8% 0.148 272.8)
XYZxyz(20.7989, 17.5677, 60.0407)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6DCD #CDBB5B
analogous
#5BA6CD #5B6DCD #825BCD
triadic
#5B6DCD #CD5B6D #6DCD5B
tetradic
#5B6DCD #CD5BA6 #CDBB5B #5BCD82
square
#5B6DCD #CD5BA6 #CDBB5B #5BCD82
split-complementary
#5B6DCD #CD825B #A6CD5B
monochromatic
#293785 #374BB4 #5B6DCD #8A97DB #B9C1EA

Accessibility & contrast

On white

4.65
#5B6DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5B6DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6DCD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6DCD#FFFFFF#000000##FFFFFF
##5B6DCD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#1A8293
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b6dcd;
/* rgb */ color: rgb(91, 109, 205);
/* oklch */ color: oklch(56.8% 0.148 272.8);
Tailwind
colors: {
  custom: {
    50: '#9296dd',
    500: '#5b6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5b6dcd;
$custom-light: #9296dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6dcd",
  "rgb": {
    "r": 91,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 230.526,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56804,
    "c": 0.1484,
    "h": 272.8
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#5B6DCD
secondary
#D9D1AB
accent
#C64BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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