#5B5CC7#5B5CC7

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

Color values

HEX#5B5CC7
RGBrgb(91, 92, 199)
HSLhsl(239, 49%, 57%)
HSVhsv(239, 54%, 78%)
CMYKcmyk(54.3%, 53.8%, 0%, 22%)
CIE-LABlab(44.23, 29.86, -56.15)
CIE-LCHlch(44.23, 63.60, 298.00°)
OKLaboklab(53.11% 0.0252 -0.1606)
OKLCHoklch(53.11% 0.163 278.9)
XYZxyz(18.4471, 14.0008, 55.7521)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5CC7 #C7C65B
analogous
#5B92C7 #5B5CC7 #905BC7
triadic
#5B5CC7 #C75B5C #5CC75B
tetradic
#5B5CC7 #C75B92 #C7C65B #5BC790
square
#5B5CC7 #C75B92 #C7C65B #5BC790
split-complementary
#5B5CC7 #C7905B #92C75B
monochromatic
#2B2B7D #3A3BAB #5B5CC7 #8989D7 #B6B7E6

Accessibility & contrast

On white

5.53
#5B5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5B5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5CC7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5CC7#FFFFFF#000000##FFFFFF
##5B5CC71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#0164C5
Tritanopia (blue-blind)
#287488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b5cc7;
/* rgb */ color: rgb(91, 92, 199);
/* oklch */ color: oklch(53.1% 0.163 278.9);
Tailwind
colors: {
  custom: {
    50: '#928ad9',
    500: '#5b5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #5b5cc7;
$custom-light: #928ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5cc7",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 239.444,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53113,
    "c": 0.16257,
    "h": 278.9
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#5B5CC7
secondary
#D5D5A9
accent
#D74FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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