#5C5CDB#5C5CDB

#5C5CDB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.7% C 0.189 H 278.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5C5CDB
RGBrgb(92, 92, 219)
HSLhsl(240, 64%, 61%)
HSVhsv(240, 58%, 86%)
CMYKcmyk(58%, 58%, 0%, 14.1%)
CIE-LABlab(45.69, 36.47, -65.26)
CIE-LCHlch(45.69, 74.75, 299.20°)
OKLaboklab(54.66% 0.0267 -0.1874)
OKLCHoklch(54.66% 0.189 278.1)
XYZxyz(21.0229, 15.0426, 68.7998)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CDB #DBDB5C
analogous
#5C9BDB #5C5CDB #9B5CDB
triadic
#5C5CDB #DB5C5C #5CDB5C
tetradic
#5C5CDB #DB5C9B #DBDB5C #5CDB9B
square
#5C5CDB #DB5C9B #DBDB5C #5CDB9B
split-complementary
#5C5CDB #DB9B5C #9BDB5C
monochromatic
#22229A #2D2DCD #5C5CDB #8E8EE6 #C0C0F1

Accessibility & contrast

On white

5.24
#5C5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5C5CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CDB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CDB#FFFFFF#000000##FFFFFF
##5C5CDB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5cdb;
/* rgb */ color: rgb(92, 92, 219);
/* oklch */ color: oklch(54.7% 0.189 278.1);
Tailwind
colors: {
  custom: {
    50: '#958ae7',
    500: '#5c5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cdb;
$custom-light: #958ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cdb",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.18925,
    "h": 278.1
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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