#5D58DF#5D58DF

#5D58DF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.4% C 0.199 H 279.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D58DF
RGBrgb(93, 88, 223)
HSLhsl(242, 68%, 61%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(58.3%, 60.5%, 0%, 12.5%)
CIE-LABlab(45.13, 40.32, -68.45)
CIE-LCHlch(45.13, 79.44, 300.50°)
OKLaboklab(54.35% 0.0315 -0.1967)
OKLCHoklch(54.35% 0.199 279.1)
XYZxyz(21.3190, 14.6328, 71.4987)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58DF #DADF58
analogous
#5896DF #5D58DF #A058DF
triadic
#5D58DF #DF5D58 #58DF5D
tetradic
#5D58DF #DF5896 #DADF58 #58DFA0
square
#5D58DF #DF5896 #DADF58 #58DFA0
split-complementary
#5D58DF #DFA058 #96DF58
monochromatic
#231E9E #2E28D2 #5D58DF #8F8BE9 #C1BFF3

Accessibility & contrast

On white

5.35
#5D58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58DF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58DF#FFFFFF#000000##FFFFFF
##5D58DF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d58df;
/* rgb */ color: rgb(93, 88, 223);
/* oklch */ color: oklch(54.4% 0.199 279.1);
Tailwind
colors: {
  custom: {
    50: '#9787ea',
    500: '#5d58df',
    950: '#000000',
  },
}
SCSS
$custom: #5d58df;
$custom-light: #9787ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58df",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 242.222,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.19925,
    "h": 279.1
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#5D58DF
secondary
#E1E3B0
accent
#D016C9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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