#5B6EE2#5B6EE2

#5B6EE2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.4% C 0.176 H 272.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5B6EE2
RGBrgb(91, 110, 226)
HSLhsl(232, 70%, 62%)
HSVhsv(232, 60%, 89%)
CMYKcmyk(59.7%, 51.3%, 0%, 11.4%)
CIE-LABlab(50.53, 27.56, -61.40)
CIE-LCHlch(50.53, 67.30, 294.17°)
OKLaboklab(58.4% 0.0085 -0.1759)
OKLCHoklch(58.4% 0.176 272.8)
XYZxyz(23.6132, 18.8651, 74.3337)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6EE2 #E2CF5B
analogous
#5BB1E2 #5B6EE2 #8C5BE2
triadic
#5B6EE2 #E25B6E #6EE25B
tetradic
#5B6EE2 #E25BB1 #E2CF5B #5BE28C
square
#5B6EE2 #E25BB1 #E2CF5B #5BE28C
split-complementary
#5B6EE2 #E28C5B #B1E25B
monochromatic
#1D30A5 #2740D9 #5B6EE2 #8F9CEB #C3CAF4

Accessibility & contrast

On white

4.40
#5B6EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6EE2#FFFFFF#000000##000000
##5B6EE21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6ee2;
/* rgb */ color: rgb(91, 110, 226);
/* oklch */ color: oklch(58.4% 0.176 272.8);
Tailwind
colors: {
  custom: {
    50: '#9597ec',
    500: '#5b6ee2',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ee2;
$custom-light: #9597ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ee2",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 231.556,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58404,
    "c": 0.17608,
    "h": 272.8
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#5B6EE2
secondary
#E5DEB4
accent
#B714D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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