#5B6BE7#5B6BE7

#5B6BE7 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.187 H 273.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5B6BE7
RGBrgb(91, 107, 231)
HSLhsl(233, 74%, 63%)
HSVhsv(233, 61%, 91%)
CMYKcmyk(60.6%, 53.7%, 0%, 9.4%)
CIE-LABlab(50.11, 31.05, -64.90)
CIE-LCHlch(50.11, 71.94, 295.57°)
OKLaboklab(58.19% 0.0117 -0.1862)
OKLCHoklch(58.19% 0.187 273.6)
XYZxyz(23.9911, 18.5071, 77.8938)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BE7 #E7D75B
analogous
#5BB1E7 #5B6BE7 #915BE7
triadic
#5B6BE7 #E75B6B #6BE75B
tetradic
#5B6BE7 #E75BB1 #E7D75B #5BE791
square
#5B6BE7 #E75BB1 #E7D75B #5BE791
split-complementary
#5B6BE7 #E7915B #B1E75B
monochromatic
#192AAE #263BDF #5B6BE7 #909BEF #C6CBF7

Accessibility & contrast

On white

4.47
#5B6BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5B6BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BE7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BE7#FFFFFF#000000##000000
##5B6BE71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#147EEB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#00889F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6be7;
/* rgb */ color: rgb(91, 107, 231);
/* oklch */ color: oklch(58.2% 0.187 273.6);
Tailwind
colors: {
  custom: {
    50: '#9695ef',
    500: '#5b6be7',
    950: '#000000',
  },
}
SCSS
$custom: #5b6be7;
$custom-light: #9695ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6be7",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 233.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58191,
    "c": 0.18657,
    "h": 273.6
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#5B6BE7
secondary
#E8E2B6
accent
#C00FD7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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