#5C58EC#5C58EC

#5C58EC is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.216 H 277.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C58EC
RGBrgb(92, 88, 236)
HSLhsl(242, 80%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(61%, 62.7%, 0%, 7.5%)
CIE-LABlab(46.05, 44.28, -74.29)
CIE-LCHlch(46.05, 86.48, 300.79°)
OKLaboklab(55.32% 0.0295 -0.2139)
OKLCHoklch(55.32% 0.216 277.9)
XYZxyz(23.0388, 15.3091, 81.0815)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58EC #E8EC58
analogous
#589EEC #5C58EC #A658EC
triadic
#5C58EC #EC5C58 #58EC5C
tetradic
#5C58EC #EC589E #E8EC58 #58ECA6
square
#5C58EC #EC589E #E8EC58 #58ECA6
split-complementary
#5C58EC #ECA658 #9EEC58
monochromatic
#1915B5 #2621E6 #5C58EC #928FF2 #C7C6F9

Accessibility & contrast

On white

5.17
#5C58EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C58EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58EC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58EC#FFFFFF#000000##FFFFFF
##5C58EC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c58ec;
/* rgb */ color: rgb(92, 88, 236);
/* oklch */ color: oklch(55.3% 0.216 277.9);
Tailwind
colors: {
  custom: {
    50: '#9888f3',
    500: '#5c58ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c58ec;
$custom-light: #9888f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58ec",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 241.622,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.21597,
    "h": 277.9
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#5C58EC
secondary
#E9EAB6
accent
#DC0AD6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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