#5B6AE8#5B6AE8

#5B6AE8 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.1% C 0.189 H 273.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5B6AE8
RGBrgb(91, 106, 232)
HSLhsl(234, 75%, 63%)
HSVhsv(234, 61%, 91%)
CMYKcmyk(60.8%, 54.3%, 0%, 9%)
CIE-LABlab(49.93, 31.99, -65.75)
CIE-LCHlch(49.93, 73.12, 295.95°)
OKLaboklab(58.08% 0.0127 -0.1887)
OKLCHoklch(58.08% 0.189 273.8)
XYZxyz(24.0291, 18.3565, 78.6052)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6AE8 #E8D95B
analogous
#5BB0E8 #5B6AE8 #925BE8
triadic
#5B6AE8 #E85B6A #6AE85B
tetradic
#5B6AE8 #E85BB0 #E8D95B #5BE892
square
#5B6AE8 #E85BB0 #E8D95B #5BE892
split-complementary
#5B6AE8 #E8925B #B0E85B
monochromatic
#1929B0 #2539E0 #5B6AE8 #919BF0 #C6CCF7

Accessibility & contrast

On white

4.50
#5B6AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5B6AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6AE8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6AE8#FFFFFF#000000##000000
##5B6AE81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#087DEC
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#00889F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6ae8;
/* rgb */ color: rgb(91, 106, 232);
/* oklch */ color: oklch(58.1% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#9694f0',
    500: '#5b6ae8',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ae8;
$custom-light: #9694f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ae8",
  "rgb": {
    "r": 91,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 233.617,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.18914,
    "h": 273.8
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#5B6AE8
secondary
#E9E3B6
accent
#C20ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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