#5C58E4#5C58E4

#5C58E4 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.7% C 0.206 H 278.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C58E4
RGBrgb(92, 88, 228)
HSLhsl(242, 72%, 62%)
HSVhsv(242, 61%, 89%)
CMYKcmyk(59.6%, 61.4%, 0%, 10.6%)
CIE-LABlab(45.43, 41.74, -70.78)
CIE-LCHlch(45.43, 82.17, 300.53°)
OKLaboklab(54.68% 0.0301 -0.2036)
OKLCHoklch(54.68% 0.206 278.4)
XYZxyz(21.9025, 14.8546, 75.0968)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58E4 #E0E458
analogous
#589AE4 #5C58E4 #A258E4
triadic
#5C58E4 #E45C58 #58E45C
tetradic
#5C58E4 #E4589A #E0E458 #58E4A2
square
#5C58E4 #E4589A #E0E458 #58E4A2
split-complementary
#5C58E4 #E4A258 #9AE458
monochromatic
#1F1BA7 #2923DB #5C58E4 #8F8DED #C3C1F5

Accessibility & contrast

On white

5.29
#5C58E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5C58E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58E4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58E4#FFFFFF#000000##FFFFFF
##5C58E41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c58e4;
/* rgb */ color: rgb(92, 88, 228);
/* oklch */ color: oklch(54.7% 0.206 278.4);
Tailwind
colors: {
  custom: {
    50: '#9787ed',
    500: '#5c58e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c58e4;
$custom-light: #9787ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58e4",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 241.714,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.20585,
    "h": 278.4
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#5C58E4
secondary
#E4E6B2
accent
#D411CF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5C58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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