#5C5DBD#5C5DBD

#5C5DBD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.147 H 279.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C5DBD
RGBrgb(92, 93, 189)
HSLhsl(239, 42%, 55%)
HSVhsv(239, 51%, 74%)
CMYKcmyk(51.3%, 50.8%, 0%, 25.9%)
CIE-LABlab(43.91, 26.27, -50.87)
CIE-LCHlch(43.91, 57.25, 297.31°)
OKLaboklab(52.68% 0.0246 -0.1451)
OKLCHoklch(52.68% 0.147 279.6)
XYZxyz(17.5105, 13.7771, 49.8708)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DBD #BDBC5C
analogous
#5C8EBD #5C5DBD #8B5CBD
triadic
#5C5DBD #BD5C5D #5DBD5C
tetradic
#5C5DBD #BD5C8E #BDBC5C #5CBD8B
square
#5C5DBD #BD5C8E #BDBC5C #5CBD8B
split-complementary
#5C5DBD #BD8B5C #8EBD5C
monochromatic
#2E2E71 #3F409C #5C5DBD #8888CF #B3B4E0

Accessibility & contrast

On white

5.59
#5C5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5C5DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DBD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DBD#FFFFFF#000000##FFFFFF
##5C5DBD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC0
Deuteranopia (green-blind)
#2464BB
Tritanopia (blue-blind)
#357284
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c5dbd;
/* rgb */ color: rgb(92, 93, 189);
/* oklch */ color: oklch(52.7% 0.147 279.6);
Tailwind
colors: {
  custom: {
    50: '#918bd1',
    500: '#5c5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #5c5dbd;
$custom-light: #918bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5dbd",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 239.381,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.14712,
    "h": 279.6
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#5C5DBD
secondary
#CFCEA6
accent
#D156D2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5C5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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