#5E58DD#5E58DD

#5E58DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.196 H 279.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5E58DD
RGBrgb(94, 88, 221)
HSLhsl(243, 66%, 61%)
HSVhsv(243, 60%, 87%)
CMYKcmyk(57.5%, 60.2%, 0%, 13.3%)
CIE-LABlab(45.05, 39.85, -67.43)
CIE-LCHlch(45.05, 78.33, 300.58°)
OKLaboklab(54.27% 0.0328 -0.1937)
OKLCHoklch(54.27% 0.196 279.6)
XYZxyz(21.1528, 14.5781, 70.0918)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58DD #D7DD58
analogous
#5894DD #5E58DD #A058DD
triadic
#5E58DD #DD5E58 #58DD5E
tetradic
#5E58DD #DD5894 #D7DD58 #58DDA0
square
#5E58DD #DD5894 #D7DD58 #58DDA0
split-complementary
#5E58DD #DDA058 #94DD58
monochromatic
#25209B #312ACE #5E58DD #8F8BE7 #C0BEF2

Accessibility & contrast

On white

5.36
#5E58DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5E58DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58DD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58DD#FFFFFF#000000##FFFFFF
##5E58DD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#0C7892
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e58dd;
/* rgb */ color: rgb(94, 88, 221);
/* oklch */ color: oklch(54.3% 0.196 279.6);
Tailwind
colors: {
  custom: {
    50: '#9787e8',
    500: '#5e58dd',
    950: '#000000',
  },
}
SCSS
$custom: #5e58dd;
$custom-light: #9787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58dd",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 242.707,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.19649,
    "h": 279.6
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#5E58DD
secondary
#DFE2AF
accent
#CE17C6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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