#5C58E7#5C58E7

#5C58E7 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.210 H 278.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5C58E7
RGBrgb(92, 88, 231)
HSLhsl(242, 75%, 63%)
HSVhsv(242, 62%, 91%)
CMYKcmyk(60.2%, 61.9%, 0%, 9.4%)
CIE-LABlab(45.67, 42.69, -72.10)
CIE-LCHlch(45.67, 83.79, 300.63°)
OKLaboklab(54.92% 0.0299 -0.2075)
OKLCHoklch(54.92% 0.21 278.2)
XYZxyz(22.3225, 15.0226, 77.3091)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58E7 #E3E758
analogous
#589CE7 #5C58E7 #A358E7
triadic
#5C58E7 #E75C58 #58E75C
tetradic
#5C58E7 #E7589C #E3E758 #58E7A3
square
#5C58E7 #E7589C #E3E758 #58E7A3
split-complementary
#5C58E7 #E7A358 #9CE758
monochromatic
#1D19AC #2822DF #5C58E7 #908EEF #C4C3F6

Accessibility & contrast

On white

5.24
#5C58E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5C58E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58E7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58E7#FFFFFF#000000##FFFFFF
##5C58E71.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c58e7;
/* rgb */ color: rgb(92, 88, 231);
/* oklch */ color: oklch(54.9% 0.210 278.2);
Tailwind
colors: {
  custom: {
    50: '#9887f0',
    500: '#5c58e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c58e7;
$custom-light: #9887f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58e7",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 241.678,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54917,
    "c": 0.20966,
    "h": 278.2
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#5C58E7
secondary
#E6E7B3
accent
#D70ED1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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