#5B6CE8#5B6CE8

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

Color values

HEX#5B6CE8
RGBrgb(91, 108, 232)
HSLhsl(233, 75%, 63%)
HSVhsv(233, 61%, 91%)
CMYKcmyk(60.8%, 53.4%, 0%, 9%)
CIE-LABlab(50.42, 30.77, -64.95)
CIE-LCHlch(50.42, 71.87, 295.35°)
OKLaboklab(58.45% 0.0108 -0.1863)
OKLCHoklch(58.45% 0.187 273.3)
XYZxyz(24.2376, 18.7735, 78.6747)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CE8 #E8D75B
analogous
#5BB2E8 #5B6CE8 #905BE8
triadic
#5B6CE8 #E85B6C #6CE85B
tetradic
#5B6CE8 #E85BB2 #E8D75B #5BE890
square
#5B6CE8 #E85BB2 #E8D75B #5BE890
split-complementary
#5B6CE8 #E8905B #B2E85B
monochromatic
#192BB0 #253CE0 #5B6CE8 #919CF0 #C6CCF7

Accessibility & contrast

On white

4.42
#5B6CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5B6CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CE8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CE8#FFFFFF#000000##000000
##5B6CE81.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#177EEC
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6ce8;
/* rgb */ color: rgb(91, 108, 232);
/* oklch */ color: oklch(58.4% 0.187 273.3);
Tailwind
colors: {
  custom: {
    50: '#9695f0',
    500: '#5b6ce8',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ce8;
$custom-light: #9695f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ce8",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 232.766,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.18665,
    "h": 273.3
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#5B6CE8
secondary
#E9E2B6
accent
#BF0ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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