#5B6DE4#5B6DE4

#5B6DE4 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.4% C 0.180 H 273.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5B6DE4
RGBrgb(91, 109, 228)
HSLhsl(232, 72%, 63%)
HSVhsv(232, 60%, 89%)
CMYKcmyk(60.1%, 52.2%, 0%, 10.6%)
CIE-LABlab(50.41, 28.84, -62.72)
CIE-LCHlch(50.41, 69.03, 294.69°)
OKLaboklab(58.35% 0.0096 -0.1798)
OKLCHoklch(58.35% 0.18 273.1)
XYZxyz(23.7820, 18.7610, 75.7517)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6DE4 #E4D25B
analogous
#5BB1E4 #5B6DE4 #8E5BE4
triadic
#5B6DE4 #E45B6D #6DE45B
tetradic
#5B6DE4 #E45BB1 #E4D25B #5BE48E
square
#5B6DE4 #E45BB1 #E4D25B #5BE48E
split-complementary
#5B6DE4 #E48E5B #B1E45B
monochromatic
#1C2EA9 #263EDB #5B6DE4 #909CED #C4CBF5

Accessibility & contrast

On white

4.42
#5B6DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5B6DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6DE4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6DE4#FFFFFF#000000##000000
##5B6DE41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6de4;
/* rgb */ color: rgb(91, 109, 228);
/* oklch */ color: oklch(58.4% 0.180 273.1);
Tailwind
colors: {
  custom: {
    50: '#9596ed',
    500: '#5b6de4',
    950: '#000000',
  },
}
SCSS
$custom: #5b6de4;
$custom-light: #9596ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6de4",
  "rgb": {
    "r": 91,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 232.117,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.18004,
    "h": 273.1
  },
  "luminance": 0.18763
}

Semantic roles & 50–950 ramp

primary
#5B6DE4
secondary
#E6E0B4
accent
#BA12D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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