#5B5CCD#5B5CCD

#5B5CCD is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.171 H 278.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5B5CCD
RGBrgb(91, 92, 205)
HSLhsl(239, 53%, 58%)
HSVhsv(239, 56%, 80%)
CMYKcmyk(55.6%, 55.1%, 0%, 19.6%)
CIE-LABlab(44.64, 31.79, -58.96)
CIE-LCHlch(44.64, 66.98, 298.33°)
OKLaboklab(53.54% 0.0254 -0.1689)
OKLCHoklch(53.54% 0.171 278.6)
XYZxyz(19.1575, 14.2849, 59.4935)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5CCD #CDCC5B
analogous
#5B95CD #5B5CCD #935BCD
triadic
#5B5CCD #CD5B5C #5CCD5B
tetradic
#5B5CCD #CD5B95 #CDCC5B #5BCD93
square
#5B5CCD #CD5B95 #CDCC5B #5BCD93
split-complementary
#5B5CCD #CD935B #95CD5B
monochromatic
#292985 #3738B4 #5B5CCD #8A8BDB #B9B9EA

Accessibility & contrast

On white

5.44
#5B5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5B5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5CCD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5CCD#FFFFFF#000000##FFFFFF
##5B5CCD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ED1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#1F768B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b5ccd;
/* rgb */ color: rgb(91, 92, 205);
/* oklch */ color: oklch(53.5% 0.171 278.6);
Tailwind
colors: {
  custom: {
    50: '#938add',
    500: '#5b5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ccd;
$custom-light: #938add;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ccd",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 239.474,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.17076,
    "h": 278.6
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#5B5CCD
secondary
#D9D8AB
accent
#DB4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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