#5B6FE7#5B6FE7

#5B6FE7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.182 H 272.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5B6FE7
RGBrgb(91, 111, 231)
HSLhsl(231, 74%, 63%)
HSVhsv(231, 61%, 91%)
CMYKcmyk(60.6%, 51.9%, 0%, 9.4%)
CIE-LABlab(51.11, 28.60, -63.28)
CIE-LCHlch(51.11, 69.44, 294.32°)
OKLaboklab(58.94% 0.0079 -0.1814)
OKLCHoklch(58.94% 0.182 272.5)
XYZxyz(24.4178, 19.3606, 78.0360)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FE7 #E7D35B
analogous
#5BB5E7 #5B6FE7 #8D5BE7
triadic
#5B6FE7 #E75B6F #6FE75B
tetradic
#5B6FE7 #E75BB5 #E7D35B #5BE78D
square
#5B6FE7 #E75BB5 #E7D35B #5BE78D
split-complementary
#5B6FE7 #E78D5B #B5E75B
monochromatic
#192FAE #2640DF #5B6FE7 #909EEF #C6CDF7

Accessibility & contrast

On white

4.31
#5B6FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5B6FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FE7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FE7#FFFFFF#000000##000000
##5B6FE71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2680EB
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b6fe7;
/* rgb */ color: rgb(91, 111, 231);
/* oklch */ color: oklch(58.9% 0.182 272.5);
Tailwind
colors: {
  custom: {
    50: '#9698ef',
    500: '#5b6fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fe7;
$custom-light: #9698ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fe7",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 231.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.18157,
    "h": 272.5
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#5B6FE7
secondary
#E8E1B6
accent
#BA0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5B6FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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