#5E58E7#5E58E7

#5E58E7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.209 H 278.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5E58E7
RGBrgb(94, 88, 231)
HSLhsl(243, 75%, 63%)
HSVhsv(243, 62%, 91%)
CMYKcmyk(59.3%, 61.9%, 0%, 9.4%)
CIE-LABlab(45.81, 43.01, -71.87)
CIE-LCHlch(45.81, 83.75, 300.90°)
OKLaboklab(55.06% 0.0323 -0.2068)
OKLCHoklch(55.06% 0.209 278.9)
XYZxyz(22.5250, 15.1270, 77.3186)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58E7 #E1E758
analogous
#589AE7 #5E58E7 #A558E7
triadic
#5E58E7 #E75E58 #58E75E
tetradic
#5E58E7 #E7589A #E1E758 #58E7A5
square
#5E58E7 #E7589A #E1E758 #58E7A5
split-complementary
#5E58E7 #E7A558 #9AE758
monochromatic
#1F19AC #2A22DF #5E58E7 #928EEF #C5C3F6

Accessibility & contrast

On white

5.22
#5E58E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E58E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58E7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58E7#FFFFFF#000000##FFFFFF
##5E58E71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e58e7;
/* rgb */ color: rgb(94, 88, 231);
/* oklch */ color: oklch(55.1% 0.209 278.9);
Tailwind
colors: {
  custom: {
    50: '#9988f0',
    500: '#5e58e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e58e7;
$custom-light: #9988f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58e7",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 242.517,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55058,
    "c": 0.20927,
    "h": 278.9
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#5E58E7
secondary
#E5E7B3
accent
#D70ECF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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