#5E58DC#5E58DC

#5E58DC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.195 H 279.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5E58DC
RGBrgb(94, 88, 220)
HSLhsl(243, 65%, 60%)
HSVhsv(243, 60%, 86%)
CMYKcmyk(57.3%, 60%, 0%, 13.7%)
CIE-LABlab(44.98, 39.54, -66.98)
CIE-LCHlch(44.98, 77.78, 300.55°)
OKLaboklab(54.19% 0.0328 -0.1924)
OKLCHoklch(54.19% 0.195 279.7)
XYZxyz(21.0200, 14.5250, 69.3922)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58DC #D6DC58
analogous
#5894DC #5E58DC #A058DC
triadic
#5E58DC #DC5E58 #58DC5E
tetradic
#5E58DC #DC5894 #D6DC58 #58DCA0
square
#5E58DC #DC5894 #D6DC58 #58DCA0
split-complementary
#5E58DC #DCA058 #94DC58
monochromatic
#262099 #322BCC #5E58DC #8F8BE7 #C0BDF1

Accessibility & contrast

On white

5.38
#5E58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5E58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58DC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58DC#FFFFFF#000000##FFFFFF
##5E58DC1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#107892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e58dc;
/* rgb */ color: rgb(94, 88, 220);
/* oklch */ color: oklch(54.2% 0.195 279.7);
Tailwind
colors: {
  custom: {
    50: '#9787e8',
    500: '#5e58dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e58dc;
$custom-light: #9787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58dc",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 242.727,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.19519,
    "h": 279.7
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#5E58DC
secondary
#DFE1AF
accent
#CD18C5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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