#5C58D9#5C58D9

#5C58D9 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.8% C 0.192 H 279.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5C58D9
RGBrgb(92, 88, 217)
HSLhsl(242, 63%, 60%)
HSVhsv(242, 59%, 85%)
CMYKcmyk(57.6%, 59.4%, 0%, 14.9%)
CIE-LABlab(44.61, 38.24, -65.88)
CIE-LCHlch(44.61, 76.17, 300.13°)
OKLaboklab(53.81% 0.0305 -0.1892)
OKLCHoklch(53.81% 0.192 279.2)
XYZxyz(20.4238, 14.2631, 67.3090)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58D9 #D5D958
analogous
#5895D9 #5C58D9 #9C58D9
triadic
#5C58D9 #D95C58 #58D95C
tetradic
#5C58D9 #D95895 #D5D958 #58D99C
square
#5C58D9 #D95895 #D5D958 #58D99C
split-complementary
#5C58D9 #D99C58 #95D958
monochromatic
#252295 #322DC7 #5C58D9 #8D8AE4 #BDBCF0

Accessibility & contrast

On white

5.45
#5C58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5C58D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58D9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58D9#FFFFFF#000000##FFFFFF
##5C58D91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#097790
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c58d9;
/* rgb */ color: rgb(92, 88, 217);
/* oklch */ color: oklch(53.8% 0.192 279.2);
Tailwind
colors: {
  custom: {
    50: '#9587e6',
    500: '#5c58d9',
    950: '#000000',
  },
}
SCSS
$custom: #5c58d9;
$custom-light: #9587e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58d9",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 241.86,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.19167,
    "h": 279.2
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#5C58D9
secondary
#DEDFAD
accent
#E642E1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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