#5E58CD#5E58CD

#5E58CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.175 H 280.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5E58CD
RGBrgb(94, 88, 205)
HSLhsl(243, 54%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.1%, 57.1%, 0%, 19.6%)
CIE-LABlab(43.90, 34.81, -60.15)
CIE-LCHlch(43.90, 69.49, 300.06°)
OKLaboklab(53.05% 0.0331 -0.1723)
OKLCHoklch(53.05% 0.175 280.9)
XYZxyz(19.1218, 13.7657, 59.3952)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58CD #C7CD58
analogous
#588CCD #5E58CD #9958CD
triadic
#5E58CD #CD5E58 #58CD5E
tetradic
#5E58CD #CD588C #C7CD58 #58CD99
square
#5E58CD #CD588C #C7CD58 #58CD99
split-complementary
#5E58CD #CD9958 #8CCD58
monochromatic
#2C2783 #3C35B2 #5E58CD #8B87DB #B9B6E9

Accessibility & contrast

On white

5.59
#5E58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5E58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58CD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58CD#FFFFFF#000000##FFFFFF
##5E58CD1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#2B738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e58cd;
/* rgb */ color: rgb(94, 88, 205);
/* oklch */ color: oklch(53.0% 0.175 280.9);
Tailwind
colors: {
  custom: {
    50: '#9587dd',
    500: '#5e58cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e58cd;
$custom-light: #9587dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58cd",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 243.077,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.17547,
    "h": 280.9
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#5E58CD
secondary
#D6D8A9
accent
#DD4BD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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