#5B6BE8#5B6BE8

#5B6BE8 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.188 H 273.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5B6BE8
RGBrgb(91, 107, 232)
HSLhsl(233, 75%, 63%)
HSVhsv(233, 61%, 91%)
CMYKcmyk(60.8%, 53.9%, 0%, 9%)
CIE-LABlab(50.17, 31.38, -65.35)
CIE-LCHlch(50.17, 72.50, 295.65°)
OKLaboklab(58.26% 0.0117 -0.1875)
OKLCHoklch(58.26% 0.188 273.6)
XYZxyz(24.1328, 18.5638, 78.6397)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BE8 #E8D85B
analogous
#5BB2E8 #5B6BE8 #915BE8
triadic
#5B6BE8 #E85B6B #6BE85B
tetradic
#5B6BE8 #E85BB2 #E8D85B #5BE891
square
#5B6BE8 #E85BB2 #E8D85B #5BE891
split-complementary
#5B6BE8 #E8915B #B2E85B
monochromatic
#192AB0 #253BE0 #5B6BE8 #919BF0 #C6CCF7

Accessibility & contrast

On white

4.46
#5B6BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5B6BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BE8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BE8#FFFFFF#000000##000000
##5B6BE81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6be8;
/* rgb */ color: rgb(91, 107, 232);
/* oklch */ color: oklch(58.3% 0.188 273.6);
Tailwind
colors: {
  custom: {
    50: '#9695f0',
    500: '#5b6be8',
    950: '#000000',
  },
}
SCSS
$custom: #5b6be8;
$custom-light: #9695f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6be8",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 232
  },
  "hsl": {
    "h": 233.191,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.1879,
    "h": 273.6
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B6BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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