#5C5CDA#5C5CDA

#5C5CDA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.188 H 278.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5C5CDA
RGBrgb(92, 92, 218)
HSLhsl(240, 63%, 61%)
HSVhsv(240, 58%, 85%)
CMYKcmyk(57.8%, 57.8%, 0%, 14.5%)
CIE-LABlab(45.62, 36.14, -64.80)
CIE-LCHlch(45.62, 74.20, 299.15°)
OKLaboklab(54.58% 0.0267 -0.186)
OKLCHoklch(54.58% 0.188 278.2)
XYZxyz(20.8916, 14.9901, 68.1085)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CDA #DADA5C
analogous
#5C9BDA #5C5CDA #9B5CDA
triadic
#5C5CDA #DA5C5C #5CDA5C
tetradic
#5C5CDA #DA5C9B #DADA5C #5CDA9B
square
#5C5CDA #DA5C9B #DADA5C #5CDA9B
split-complementary
#5C5CDA #DA9B5C #9BDA5C
monochromatic
#232399 #2E2ECB #5C5CDA #8E8EE5 #C0C0F1

Accessibility & contrast

On white

5.25
#5C5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5C5CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CDA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CDA#FFFFFF#000000##FFFFFF
##5C5CDA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#037A92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c5cda;
/* rgb */ color: rgb(92, 92, 218);
/* oklch */ color: oklch(54.6% 0.188 278.2);
Tailwind
colors: {
  custom: {
    50: '#958ae6',
    500: '#5c5cda',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cda;
$custom-light: #958ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cda",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 240,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.18794,
    "h": 278.2
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#5C5CDA
secondary
#E1E1B1
accent
#CB1BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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