#5C5FDA#5C5FDA

#5C5FDA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.184 H 277.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C5FDA
RGBrgb(92, 95, 218)
HSLhsl(239, 63%, 61%)
HSVhsv(239, 58%, 85%)
CMYKcmyk(57.8%, 56.4%, 0%, 14.5%)
CIE-LABlab(46.34, 34.32, -63.64)
CIE-LCHlch(46.34, 72.30, 298.34°)
OKLaboklab(55.11% 0.0238 -0.1826)
OKLCHoklch(55.11% 0.184 277.4)
XYZxyz(21.1567, 15.5202, 68.1969)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FDA #DAD75C
analogous
#5C9EDA #5C5FDA #985CDA
triadic
#5C5FDA #DA5C5F #5FDA5C
tetradic
#5C5FDA #DA5C9E #DAD75C #5CDA98
square
#5C5FDA #DA5C9E #DAD75C #5CDA98
split-complementary
#5C5FDA #DA985C #9EDA5C
monochromatic
#232699 #2E32CB #5C5FDA #8E90E5 #C0C1F1

Accessibility & contrast

On white

5.12
#5C5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5C5FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FDA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FDA#FFFFFF#000000##FFFFFF
##5C5FDA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#017C93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5fda;
/* rgb */ color: rgb(92, 95, 218);
/* oklch */ color: oklch(55.1% 0.184 277.4);
Tailwind
colors: {
  custom: {
    50: '#958ce6',
    500: '#5c5fda',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fda;
$custom-light: #958ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fda",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 238.571,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55113,
    "c": 0.18413,
    "h": 277.4
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#5C5FDA
secondary
#E1E0B1
accent
#C71BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5C5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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