#5B5CC8#5B5CC8

#5B5CC8 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.164 H 278.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B5CC8
RGBrgb(91, 92, 200)
HSLhsl(239, 50%, 57%)
HSVhsv(239, 55%, 78%)
CMYKcmyk(54.5%, 54%, 0%, 21.6%)
CIE-LABlab(44.30, 30.18, -56.62)
CIE-LCHlch(44.30, 64.16, 298.06°)
OKLaboklab(53.19% 0.0252 -0.162)
OKLCHoklch(53.19% 0.164 278.9)
XYZxyz(18.5636, 14.0474, 56.3656)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5CC8 #C8C75B
analogous
#5B92C8 #5B5CC8 #915BC8
triadic
#5B5CC8 #C85B5C #5CC85B
tetradic
#5B5CC8 #C85B92 #C8C75B #5BC891
square
#5B5CC8 #C85B92 #C8C75B #5BC891
split-complementary
#5B5CC8 #C8915B #92C85B
monochromatic
#2A2B7E #3A3BAC #5B5CC8 #898AD7 #B7B7E7

Accessibility & contrast

On white

5.51
#5B5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5B5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5CC8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5CC8#FFFFFF#000000##FFFFFF
##5B5CC81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#277589
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b5cc8;
/* rgb */ color: rgb(91, 92, 200);
/* oklch */ color: oklch(53.2% 0.164 278.9);
Tailwind
colors: {
  custom: {
    50: '#928ad9',
    500: '#5b5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #5b5cc8;
$custom-light: #928ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5cc8",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 239.45,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.16394,
    "h": 278.9
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#5B5CC8
secondary
#D6D5A9
accent
#D84FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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