#5B6CE6#5B6CE6

#5B6CE6 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.184 H 273.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5B6CE6
RGBrgb(91, 108, 230)
HSLhsl(233, 74%, 63%)
HSVhsv(233, 60%, 90%)
CMYKcmyk(60.4%, 53%, 0%, 9.8%)
CIE-LABlab(50.29, 30.11, -64.04)
CIE-LCHlch(50.29, 70.77, 295.18°)
OKLaboklab(58.31% 0.0107 -0.1837)
OKLCHoklch(58.31% 0.184 273.3)
XYZxyz(23.9552, 18.6605, 77.1870)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CE6 #E6D55B
analogous
#5BB1E6 #5B6CE6 #8F5BE6
triadic
#5B6CE6 #E65B6C #6CE65B
tetradic
#5B6CE6 #E65BB1 #E6D55B #5BE68F
square
#5B6CE6 #E65BB1 #E6D55B #5BE68F
split-complementary
#5B6CE6 #E68F5B #B1E65B
monochromatic
#1A2CAC #263CDE #5B6CE6 #909CEE #C5CBF6

Accessibility & contrast

On white

4.44
#5B6CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5B6CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CE6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CE6#FFFFFF#000000##000000
##5B6CE61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7EEA
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#00899F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6ce6;
/* rgb */ color: rgb(91, 108, 230);
/* oklch */ color: oklch(58.3% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#9695ef',
    500: '#5b6ce6',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ce6;
$custom-light: #9695ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ce6",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 232.662,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58306,
    "c": 0.18398,
    "h": 273.3
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#5B6CE6
secondary
#E7E1B5
accent
#BD10D6
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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