#5C58DC#5C58DC

#5C58DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.196 H 279.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C58DC
RGBrgb(92, 88, 220)
HSLhsl(242, 65%, 60%)
HSVhsv(242, 60%, 86%)
CMYKcmyk(58.2%, 60%, 0%, 13.7%)
CIE-LABlab(44.83, 39.19, -67.23)
CIE-LCHlch(44.83, 77.82, 300.24°)
OKLaboklab(54.04% 0.0304 -0.1932)
OKLCHoklch(54.04% 0.196 279)
XYZxyz(20.8175, 14.4206, 69.3827)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58DC #D8DC58
analogous
#5896DC #5C58DC #9E58DC
triadic
#5C58DC #DC5C58 #58DC5C
tetradic
#5C58DC #DC5896 #D8DC58 #58DC9E
square
#5C58DC #DC5896 #D8DC58 #58DC9E
split-complementary
#5C58DC #DC9E58 #96DC58
monochromatic
#242099 #302BCC #5C58DC #8D8BE7 #BFBDF1

Accessibility & contrast

On white

5.41
#5C58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5C58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58DC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58DC#FFFFFF#000000##FFFFFF
##5C58DC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c58dc;
/* rgb */ color: rgb(92, 88, 220);
/* oklch */ color: oklch(54.0% 0.196 279.0);
Tailwind
colors: {
  custom: {
    50: '#9687e8',
    500: '#5c58dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c58dc;
$custom-light: #9687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58dc",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 241.818,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.19556,
    "h": 279
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#5C58DC
secondary
#E0E1AF
accent
#CD18C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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