#5B6EE5#5B6EE5

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

Color values

HEX#5B6EE5
RGBrgb(91, 110, 229)
HSLhsl(232, 73%, 63%)
HSVhsv(232, 60%, 90%)
CMYKcmyk(60.3%, 52%, 0%, 10.2%)
CIE-LABlab(50.72, 28.55, -62.77)
CIE-LCHlch(50.72, 68.96, 294.46°)
OKLaboklab(58.61% 0.0087 -0.1799)
OKLCHoklch(58.61% 0.18 272.8)
XYZxyz(24.0285, 19.0312, 76.5207)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6EE5 #E5D25B
analogous
#5BB3E5 #5B6EE5 #8D5BE5
triadic
#5B6EE5 #E55B6E #6EE55B
tetradic
#5B6EE5 #E55BB3 #E5D25B #5BE58D
square
#5B6EE5 #E55BB3 #E5D25B #5BE58D
split-complementary
#5B6EE5 #E58D5B #B3E55B
monochromatic
#1B2FAB #263FDD #5B6EE5 #909DED #C5CBF6

Accessibility & contrast

On white

4.37
#5B6EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5B6EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6EE5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6EE5#FFFFFF#000000##000000
##5B6EE51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b6ee5;
/* rgb */ color: rgb(91, 110, 229);
/* oklch */ color: oklch(58.6% 0.180 272.8);
Tailwind
colors: {
  custom: {
    50: '#9597ee',
    500: '#5b6ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ee5;
$custom-light: #9597ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ee5",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 231.739,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.18013,
    "h": 272.8
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#5B6EE5
secondary
#E7E0B5
accent
#BA11D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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