#5D58DB#5D58DB

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

Color values

HEX#5D58DB
RGBrgb(93, 88, 219)
HSLhsl(242, 65%, 60%)
HSVhsv(242, 60%, 86%)
CMYKcmyk(57.5%, 59.8%, 0%, 14.1%)
CIE-LABlab(44.83, 39.05, -66.65)
CIE-LCHlch(44.83, 77.25, 300.36°)
OKLaboklab(54.04% 0.0317 -0.1915)
OKLCHoklch(54.04% 0.194 279.4)
XYZxyz(20.7861, 14.4196, 68.6920)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58DB #D6DB58
analogous
#5894DB #5D58DB #9E58DB
triadic
#5D58DB #DB5D58 #58DB5D
tetradic
#5D58DB #DB5894 #D6DB58 #58DB9E
square
#5D58DB #DB5894 #D6DB58 #58DB9E
split-complementary
#5D58DB #DB9E58 #94DB58
monochromatic
#252198 #322CCA #5D58DB #8E8AE6 #BFBDF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D58DB#FFFFFF#000000##FFFFFF
##5D58DB1.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)
#006FDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#0B7891
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d58db;
/* rgb */ color: rgb(93, 88, 219);
/* oklch */ color: oklch(54.0% 0.194 279.4);
Tailwind
colors: {
  custom: {
    50: '#9687e7',
    500: '#5d58db',
    950: '#000000',
  },
}
SCSS
$custom: #5d58db;
$custom-light: #9687e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58db",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 242.29,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.19408,
    "h": 279.4
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#5D58DB
secondary
#DFE1AE
accent
#CC19C6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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