#5C5BDB#5C5BDB

#5C5BDB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.191 H 278.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5C5BDB
RGBrgb(92, 91, 219)
HSLhsl(240, 64%, 61%)
HSVhsv(240, 58%, 86%)
CMYKcmyk(58%, 58.4%, 0%, 14.1%)
CIE-LABlab(45.46, 37.07, -65.64)
CIE-LCHlch(45.46, 75.38, 299.46°)
OKLaboklab(54.48% 0.0277 -0.1885)
OKLCHoklch(54.48% 0.191 278.3)
XYZxyz(20.9368, 14.8705, 68.7711)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5BDB #DADB5B
analogous
#5B9ADB #5C5BDB #9C5BDB
triadic
#5C5BDB #DB5C5B #5BDB5C
tetradic
#5C5BDB #DB5B9A #DADB5B #5BDB9C
square
#5C5BDB #DB5B9A #DADB5B #5BDB9C
split-complementary
#5C5BDB #DB9C5B #9ADB5B
monochromatic
#23229A #2E2DCC #5C5BDB #8E8DE6 #C0BFF1

Accessibility & contrast

On white

5.28
#5C5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5C5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5BDB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5BDB#FFFFFF#000000##FFFFFF
##5C5BDB1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c5bdb;
/* rgb */ color: rgb(92, 91, 219);
/* oklch */ color: oklch(54.5% 0.191 278.3);
Tailwind
colors: {
  custom: {
    50: '#9589e7',
    500: '#5c5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5c5bdb;
$custom-light: #9589e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5bdb",
  "rgb": {
    "r": 92,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 240.469,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54481,
    "c": 0.19052,
    "h": 278.3
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#5C5BDB
secondary
#E1E1B1
accent
#CC1ACA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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