#5B6CE9#5B6CE9

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

Color values

HEX#5B6CE9
RGBrgb(91, 108, 233)
HSLhsl(233, 76%, 64%)
HSVhsv(233, 61%, 91%)
CMYKcmyk(60.9%, 53.6%, 0%, 8.6%)
CIE-LABlab(50.49, 31.10, -65.40)
CIE-LCHlch(50.49, 72.42, 295.43°)
OKLaboklab(58.52% 0.0109 -0.1877)
OKLCHoklch(58.52% 0.188 273.3)
XYZxyz(24.3801, 18.8305, 79.4249)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CE9 #E9D85B
analogous
#5BB3E9 #5B6CE9 #915BE9
triadic
#5B6CE9 #E95B6C #6CE95B
tetradic
#5B6CE9 #E95BB3 #E9D85B #5BE991
square
#5B6CE9 #E95BB3 #E9D85B #5BE991
split-complementary
#5B6CE9 #E9915B #B3E95B
monochromatic
#182AB2 #253CE2 #5B6CE9 #919CF0 #C7CDF7

Accessibility & contrast

On white

4.41
#5B6CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5B6CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CE9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CE9#FFFFFF#000000##000000
##5B6CE91.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#147FED
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6ce9;
/* rgb */ color: rgb(91, 108, 233);
/* oklch */ color: oklch(58.5% 0.188 273.3);
Tailwind
colors: {
  custom: {
    50: '#9695f1',
    500: '#5b6ce9',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ce9;
$custom-light: #9695f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ce9",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 233
  },
  "hsl": {
    "h": 232.817,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.18798,
    "h": 273.3
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#5B6CE9
secondary
#E9E3B7
accent
#C00DD9
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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