#5B6DCE#5B6DCE

#5B6DCE is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.9% C 0.150 H 272.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5B6DCE
RGBrgb(91, 109, 206)
HSLhsl(231, 54%, 58%)
HSVhsv(231, 56%, 81%)
CMYKcmyk(55.8%, 47.1%, 0%, 19.2%)
CIE-LABlab(49.03, 21.60, -52.47)
CIE-LCHlch(49.03, 56.74, 292.37°)
OKLaboklab(56.87% 0.0075 -0.1496)
OKLCHoklch(56.87% 0.15 272.9)
XYZxyz(20.9200, 17.6161, 60.6784)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6DCE #CEBC5B
analogous
#5BA6CE #5B6DCE #825BCE
triadic
#5B6DCE #CE5B6D #6DCE5B
tetradic
#5B6DCE #CE5BA6 #CEBC5B #5BCE82
square
#5B6DCE #CE5BA6 #CEBC5B #5BCE82
split-complementary
#5B6DCE #CE825B #A6CE5B
monochromatic
#283786 #364AB6 #5B6DCE #8A97DC #B9C1EA

Accessibility & contrast

On white

4.64
#5B6DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5B6DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6DCE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6DCE#FFFFFF#000000##FFFFFF
##5B6DCE1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD2
Deuteranopia (green-blind)
#3070CC
Tritanopia (blue-blind)
#188393
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b6dce;
/* rgb */ color: rgb(91, 109, 206);
/* oklch */ color: oklch(56.9% 0.150 272.9);
Tailwind
colors: {
  custom: {
    50: '#9296dd',
    500: '#5b6dce',
    950: '#000000',
  },
}
SCSS
$custom: #5b6dce;
$custom-light: #9296dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6dce",
  "rgb": {
    "r": 91,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 230.609,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.14981,
    "h": 272.9
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#5B6DCE
secondary
#D9D2AB
accent
#C64ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B6DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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