#5B6BE6#5B6BE6

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

Color values

HEX#5B6BE6
RGBrgb(91, 107, 230)
HSLhsl(233, 74%, 63%)
HSVhsv(233, 60%, 90%)
CMYKcmyk(60.4%, 53.5%, 0%, 9.8%)
CIE-LABlab(50.04, 30.72, -64.44)
CIE-LCHlch(50.04, 71.39, 295.49°)
OKLaboklab(58.12% 0.0116 -0.1849)
OKLCHoklch(58.12% 0.185 273.6)
XYZxyz(23.8503, 18.4508, 77.1521)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BE6 #E6D65B
analogous
#5BB0E6 #5B6BE6 #915BE6
triadic
#5B6BE6 #E65B6B #6BE65B
tetradic
#5B6BE6 #E65BB0 #E6D65B #5BE691
square
#5B6BE6 #E65BB0 #E6D65B #5BE691
split-complementary
#5B6BE6 #E6915B #B0E65B
monochromatic
#1A2BAC #263BDE #5B6BE6 #909BEE #C5CBF6

Accessibility & contrast

On white

4.48
#5B6BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5B6BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BE6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BE6#FFFFFF#000000##000000
##5B6BE61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#177DEA
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6be6;
/* rgb */ color: rgb(91, 107, 230);
/* oklch */ color: oklch(58.1% 0.185 273.6);
Tailwind
colors: {
  custom: {
    50: '#9695ef',
    500: '#5b6be6',
    950: '#000000',
  },
}
SCSS
$custom: #5b6be6;
$custom-light: #9695ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6be6",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 233.094,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.18524,
    "h": 273.6
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#5B6BE6
secondary
#E7E2B5
accent
#BF10D6
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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