#5B5CF3#5B5CF3

#5B5CF3 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.220 H 276.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5B5CF3
RGBrgb(91, 92, 243)
HSLhsl(240, 86%, 65%)
HSVhsv(240, 63%, 95%)
CMYKcmyk(62.6%, 62.1%, 0%, 4.7%)
CIE-LABlab(47.43, 44.01, -75.98)
CIE-LCHlch(47.43, 87.81, 300.08°)
OKLaboklab(56.48% 0.0246 -0.2189)
OKLCHoklch(56.48% 0.22 276.4)
XYZxyz(24.3139, 16.3475, 86.6507)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5CF3 #F3F25B
analogous
#5BA8F3 #5B5CF3 #A65BF3
triadic
#5B5CF3 #F35B5C #5CF35B
tetradic
#5B5CF3 #F35BA8 #F3F25B #5BF3A6
square
#5B5CF3 #F35BA8 #F3F25B #5BF3A6
split-complementary
#5B5CF3 #F3A65B #A8F35B
monochromatic
#0E10C5 #2223EF #5B5CF3 #9495F7 #CDCDFB

Accessibility & contrast

On white

4.92
#5B5CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5B5CF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5CF3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5CF3#FFFFFF#000000##FFFFFF
##5B5CF31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b5cf3;
/* rgb */ color: rgb(91, 92, 243);
/* oklch */ color: oklch(56.5% 0.220 276.4);
Tailwind
colors: {
  custom: {
    50: '#998af8',
    500: '#5b5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5b5cf3;
$custom-light: #998af8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5cf3",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 239.605,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.22029,
    "h": 276.4
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#5B5CF3
secondary
#EEEEBB
accent
#E103E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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