#5B6AE7#5B6AE7

#5B6AE7 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.0% C 0.188 H 273.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5B6AE7
RGBrgb(91, 106, 231)
HSLhsl(234, 74%, 63%)
HSVhsv(234, 61%, 91%)
CMYKcmyk(60.6%, 54.1%, 0%, 9.4%)
CIE-LABlab(49.86, 31.67, -65.30)
CIE-LCHlch(49.86, 72.57, 295.87°)
OKLaboklab(58.01% 0.0126 -0.1874)
OKLCHoklch(58.01% 0.188 273.9)
XYZxyz(23.8875, 18.2998, 77.8592)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6AE7 #E7D85B
analogous
#5BB0E7 #5B6AE7 #925BE7
triadic
#5B6AE7 #E75B6A #6AE75B
tetradic
#5B6AE7 #E75BB0 #E7D85B #5BE792
square
#5B6AE7 #E75BB0 #E7D85B #5BE792
split-complementary
#5B6AE7 #E7925B #B0E75B
monochromatic
#1929AE #2639DF #5B6AE7 #909BEF #C6CBF7

Accessibility & contrast

On white

4.51
#5B6AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5B6AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6AE7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6AE7#FFFFFF#000000##000000
##5B6AE71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7DEB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6ae7;
/* rgb */ color: rgb(91, 106, 231);
/* oklch */ color: oklch(58.0% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#9694ef',
    500: '#5b6ae7',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ae7;
$custom-light: #9694ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ae7",
  "rgb": {
    "r": 91,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 233.571,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.18781,
    "h": 273.9
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#5B6AE7
secondary
#E8E3B6
accent
#C10FD7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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