#5B6FE6#5B6FE6

#5B6FE6 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.180 H 272.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5B6FE6
RGBrgb(91, 111, 230)
HSLhsl(231, 74%, 63%)
HSVhsv(231, 60%, 90%)
CMYKcmyk(60.4%, 51.7%, 0%, 9.8%)
CIE-LABlab(51.04, 28.27, -62.82)
CIE-LCHlch(51.04, 68.89, 294.23°)
OKLaboklab(58.87% 0.0078 -0.1801)
OKLCHoklch(58.87% 0.18 272.5)
XYZxyz(24.2770, 19.3042, 77.2943)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FE6 #E6D25B
analogous
#5BB4E6 #5B6FE6 #8C5BE6
triadic
#5B6FE6 #E65B6F #6FE65B
tetradic
#5B6FE6 #E65BB4 #E6D25B #5BE68C
square
#5B6FE6 #E65BB4 #E6D25B #5BE68C
split-complementary
#5B6FE6 #E68C5B #B4E65B
monochromatic
#1A2FAC #2640DE #5B6FE6 #909EEE #C5CCF6

Accessibility & contrast

On white

4.32
#5B6FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5B6FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FE6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FE6#FFFFFF#000000##000000
##5B6FE61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880EA
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b6fe6;
/* rgb */ color: rgb(91, 111, 230);
/* oklch */ color: oklch(58.9% 0.180 272.5);
Tailwind
colors: {
  custom: {
    50: '#9598ef',
    500: '#5b6fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fe6;
$custom-light: #9598ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fe6",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 231.367,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.18023,
    "h": 272.5
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#5B6FE6
secondary
#E7E0B5
accent
#B910D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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