#5E58D9#5E58D9

#5E58D9 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.191 H 279.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E58D9
RGBrgb(94, 88, 217)
HSLhsl(243, 63%, 60%)
HSVhsv(243, 59%, 85%)
CMYKcmyk(56.7%, 59.4%, 0%, 14.9%)
CIE-LABlab(44.76, 38.59, -65.63)
CIE-LCHlch(44.76, 76.14, 300.46°)
OKLaboklab(53.96% 0.033 -0.1884)
OKLCHoklch(53.96% 0.191 279.9)
XYZxyz(20.6263, 14.3675, 67.3185)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58D9 #D3D958
analogous
#5892D9 #5E58D9 #9F58D9
triadic
#5E58D9 #D95E58 #58D95E
tetradic
#5E58D9 #D95892 #D3D958 #58D99F
square
#5E58D9 #D95892 #D3D958 #58D99F
split-complementary
#5E58D9 #D99F58 #92D958
monochromatic
#272295 #342DC7 #5E58D9 #8E8AE4 #BEBCF0

Accessibility & contrast

On white

5.42
#5E58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5E58D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58D9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58D9#FFFFFF#000000##FFFFFF
##5E58D91.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#187790
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e58d9;
/* rgb */ color: rgb(94, 88, 217);
/* oklch */ color: oklch(54.0% 0.191 279.9);
Tailwind
colors: {
  custom: {
    50: '#9687e6',
    500: '#5e58d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e58d9;
$custom-light: #9687e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58d9",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 242.791,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.1913,
    "h": 279.9
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#5E58D9
secondary
#DDDFAD
accent
#E642DE
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5E58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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