#5B6BC7#5B6BC7

#5B6BC7 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.0% C 0.143 H 273.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B6BC7
RGBrgb(91, 107, 199)
HSLhsl(231, 49%, 57%)
HSVhsv(231, 54%, 78%)
CMYKcmyk(54.3%, 46.2%, 0%, 22%)
CIE-LABlab(48.09, 20.56, -49.97)
CIE-LCHlch(48.09, 54.03, 292.36°)
OKLaboklab(56.02% 0.0087 -0.1423)
OKLCHoklch(56.02% 0.143 273.5)
XYZxyz(19.8776, 16.8617, 56.2289)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BC7 #C7B75B
analogous
#5BA1C7 #5B6BC7 #815BC7
triadic
#5B6BC7 #C75B6B #6BC75B
tetradic
#5B6BC7 #C75BA1 #C7B75B #5BC781
square
#5B6BC7 #C75BA1 #C7B75B #5BC781
split-complementary
#5B6BC7 #C7815B #A1C75B
monochromatic
#2B377D #3A4BAB #5B6BC7 #8994D7 #B6BDE6

Accessibility & contrast

On white

4.80
#5B6BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5B6BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6BC7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BC7#FFFFFF#000000##FFFFFF
##5B6BC71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4277CA
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#247F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b6bc7;
/* rgb */ color: rgb(91, 107, 199);
/* oklch */ color: oklch(56.0% 0.143 273.5);
Tailwind
colors: {
  custom: {
    50: '#9195d8',
    500: '#5b6bc7',
    950: '#000000',
  },
}
SCSS
$custom: #5b6bc7;
$custom-light: #9195d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6bc7",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 231.111,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56018,
    "c": 0.14256,
    "h": 273.5
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#5B6BC7
secondary
#D5CEA9
accent
#C44FD9
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5B6BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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