#5B6EE4#5B6EE4

#5B6EE4 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.179 H 272.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B6EE4
RGBrgb(91, 110, 228)
HSLhsl(232, 72%, 63%)
HSVhsv(232, 60%, 89%)
CMYKcmyk(60.1%, 51.8%, 0%, 10.6%)
CIE-LABlab(50.66, 28.22, -62.32)
CIE-LCHlch(50.66, 68.41, 294.36°)
OKLaboklab(58.54% 0.0086 -0.1786)
OKLCHoklch(58.54% 0.179 272.8)
XYZxyz(23.8893, 18.9755, 75.7875)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6EE4 #E4D15B
analogous
#5BB2E4 #5B6EE4 #8D5BE4
triadic
#5B6EE4 #E45B6E #6EE45B
tetradic
#5B6EE4 #E45BB2 #E4D15B #5BE48D
square
#5B6EE4 #E45BB2 #E4D15B #5BE48D
split-complementary
#5B6EE4 #E48D5B #B2E45B
monochromatic
#1C2FA9 #2640DB #5B6EE4 #909CED #C4CBF5

Accessibility & contrast

On white

4.38
#5B6EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5B6EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6EE4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6EE4#FFFFFF#000000##000000
##5B6EE41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b6ee4;
/* rgb */ color: rgb(91, 110, 228);
/* oklch */ color: oklch(58.5% 0.179 272.8);
Tailwind
colors: {
  custom: {
    50: '#9597ed',
    500: '#5b6ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ee4;
$custom-light: #9597ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ee4",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 231.679,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.17878,
    "h": 272.8
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#5B6EE4
secondary
#E6DFB4
accent
#B912D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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