#5D58DE#5D58DE

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

Color values

HEX#5D58DE
RGBrgb(93, 88, 222)
HSLhsl(242, 67%, 61%)
HSVhsv(242, 60%, 87%)
CMYKcmyk(58.1%, 60.4%, 0%, 12.9%)
CIE-LABlab(45.05, 40.00, -68.00)
CIE-LCHlch(45.05, 78.89, 300.47°)
OKLaboklab(54.27% 0.0316 -0.1954)
OKLCHoklch(54.27% 0.198 279.2)
XYZxyz(21.1846, 14.5790, 70.7908)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58DE #D9DE58
analogous
#5896DE #5D58DE #A058DE
triadic
#5D58DE #DE5D58 #58DE5D
tetradic
#5D58DE #DE5896 #D9DE58 #58DEA0
square
#5D58DE #DE5896 #D9DE58 #58DEA0
split-complementary
#5D58DE #DEA058 #96DE58
monochromatic
#241F9D #2F29D0 #5D58DE #8F8BE8 #C0BEF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D58DE#FFFFFF#000000##FFFFFF
##5D58DE1.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)
#0070E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d58de;
/* rgb */ color: rgb(93, 88, 222);
/* oklch */ color: oklch(54.3% 0.198 279.2);
Tailwind
colors: {
  custom: {
    50: '#9787e9',
    500: '#5d58de',
    950: '#000000',
  },
}
SCSS
$custom: #5d58de;
$custom-light: #9787e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58de",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 242.239,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.19796,
    "h": 279.2
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#5D58DE
secondary
#E0E2B0
accent
#CF17C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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