#5C58F7#5C58F7

#5C58F7 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.2% C 0.230 H 277.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5C58F7
RGBrgb(92, 88, 247)
HSLhsl(242, 91%, 66%)
HSVhsv(242, 64%, 97%)
CMYKcmyk(62.8%, 64.4%, 0%, 3.1%)
CIE-LABlab(46.93, 47.75, -79.02)
CIE-LCHlch(46.93, 92.33, 301.14°)
OKLaboklab(56.24% 0.0286 -0.2278)
OKLCHoklch(56.24% 0.23 277.2)
XYZxyz(24.6864, 15.9681, 89.7589)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58F7 #F3F758
analogous
#58A4F7 #5C58F7 #AB58F7
triadic
#5C58F7 #F75C58 #58F75C
tetradic
#5C58F7 #F758A4 #F3F758 #58F7AB
square
#5C58F7 #F758A4 #F3F758 #58F7AB
split-complementary
#5C58F7 #F7AB58 #A4F758
monochromatic
#0F0ACB #231EF4 #5C58F7 #9592FA #CECDFD

Accessibility & contrast

On white

5.01
#5C58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5C58F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58F7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58F7#FFFFFF#000000##FFFFFF
##5C58F71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FC
Deuteranopia (green-blind)
#0068F4
Tritanopia (blue-blind)
#0081A0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c58f7;
/* rgb */ color: rgb(92, 88, 247);
/* oklch */ color: oklch(56.2% 0.230 277.2);
Tailwind
colors: {
  custom: {
    50: '#9a88fb',
    500: '#5c58f7',
    950: '#000000',
  },
}
SCSS
$custom: #5c58f7;
$custom-light: #9a88fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58f7",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 241.509,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.22962,
    "h": 277.2
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#5C58F7
secondary
#EFF0BB
accent
#E600E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5C58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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