#5E58DA#5E58DA

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

Color values

HEX#5E58DA
RGBrgb(94, 88, 218)
HSLhsl(243, 64%, 60%)
HSVhsv(243, 60%, 85%)
CMYKcmyk(56.9%, 59.6%, 0%, 14.5%)
CIE-LABlab(44.83, 38.91, -66.08)
CIE-LCHlch(44.83, 76.68, 300.49°)
OKLaboklab(54.03% 0.0329 -0.1898)
OKLCHoklch(54.03% 0.193 279.8)
XYZxyz(20.7567, 14.4197, 68.0056)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58DA #D4DA58
analogous
#5893DA #5E58DA #9F58DA
triadic
#5E58DA #DA5E58 #58DA5E
tetradic
#5E58DA #DA5893 #D4DA58 #58DA9F
square
#5E58DA #DA5893 #D4DA58 #58DA9F
split-complementary
#5E58DA #DA9F58 #93DA58
monochromatic
#272196 #342CC8 #5E58DA #8E8AE5 #BFBCF0

Accessibility & contrast

On white

5.41
#5E58DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5E58DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58DA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58DA#FFFFFF#000000##FFFFFF
##5E58DA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#157791
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e58da;
/* rgb */ color: rgb(94, 88, 218);
/* oklch */ color: oklch(54.0% 0.193 279.8);
Tailwind
colors: {
  custom: {
    50: '#9687e6',
    500: '#5e58da',
    950: '#000000',
  },
}
SCSS
$custom: #5e58da;
$custom-light: #9687e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58da",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 242.769,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.19259,
    "h": 279.8
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#5E58DA
secondary
#DEE0AE
accent
#E741DF
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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