#5B5CCB#5B5CCB

#5B5CCB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.168 H 278.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5B5CCB
RGBrgb(91, 92, 203)
HSLhsl(239, 52%, 58%)
HSVhsv(239, 55%, 80%)
CMYKcmyk(55.2%, 54.7%, 0%, 20.4%)
CIE-LABlab(44.50, 31.14, -58.03)
CIE-LCHlch(44.50, 65.85, 298.22°)
OKLaboklab(53.4% 0.0254 -0.1661)
OKLCHoklch(53.4% 0.168 278.7)
XYZxyz(18.9176, 14.1890, 58.2302)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5CCB #CBCA5B
analogous
#5B94CB #5B5CCB #925BCB
triadic
#5B5CCB #CB5B5C #5CCB5B
tetradic
#5B5CCB #CB5B94 #CBCA5B #5BCB92
square
#5B5CCB #CB5B94 #CBCA5B #5BCB92
split-complementary
#5B5CCB #CB925B #94CB5B
monochromatic
#292A82 #3839B1 #5B5CCB #898ADA #B8B8E8

Accessibility & contrast

On white

5.47
#5B5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5B5CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5CCB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5CCB#FFFFFF#000000##FFFFFF
##5B5CCB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#22768A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b5ccb;
/* rgb */ color: rgb(91, 92, 203);
/* oklch */ color: oklch(53.4% 0.168 278.7);
Tailwind
colors: {
  custom: {
    50: '#928adc',
    500: '#5b5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ccb;
$custom-light: #928adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ccb",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 239.464,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.534,
    "c": 0.16804,
    "h": 278.7
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#5B5CCB
secondary
#D7D7AA
accent
#DA4CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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