#5E58D7#5E58D7

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

Color values

HEX#5E58D7
RGBrgb(94, 88, 215)
HSLhsl(243, 61%, 59%)
HSVhsv(243, 59%, 84%)
CMYKcmyk(56.3%, 59.1%, 0%, 15.7%)
CIE-LABlab(44.61, 37.96, -64.73)
CIE-LCHlch(44.61, 75.04, 300.39°)
OKLaboklab(53.8% 0.033 -0.1858)
OKLCHoklch(53.8% 0.189 280.1)
XYZxyz(20.3677, 14.2641, 65.9568)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58D7 #D1D758
analogous
#5891D7 #5E58D7 #9E58D7
triadic
#5E58D7 #D75E58 #58D75E
tetradic
#5E58D7 #D75891 #D1D758 #58D79E
square
#5E58D7 #D75891 #D1D758 #58D79E
split-complementary
#5E58D7 #D79E58 #91D758
monochromatic
#282392 #362FC3 #5E58D7 #8E89E3 #BDBBEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E58D7#FFFFFF#000000##FFFFFF
##5E58D71.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)
#006EDB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#1C768F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e58d7;
/* rgb */ color: rgb(94, 88, 215);
/* oklch */ color: oklch(53.8% 0.189 280.1);
Tailwind
colors: {
  custom: {
    50: '#9687e4',
    500: '#5e58d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e58d7;
$custom-light: #9687e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58d7",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 242.835,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.18869,
    "h": 280.1
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#5E58D7
secondary
#DCDEAD
accent
#E443DD
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5E58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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