#5D58EB#5D58EB

#5D58EB is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.215 H 278.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5D58EB
RGBrgb(93, 88, 235)
HSLhsl(242, 79%, 63%)
HSVhsv(242, 63%, 92%)
CMYKcmyk(60.4%, 62.6%, 0%, 7.8%)
CIE-LABlab(46.05, 44.11, -73.74)
CIE-LCHlch(46.05, 85.92, 300.89°)
OKLaboklab(55.31% 0.0308 -0.2123)
OKLCHoklch(55.31% 0.215 278.3)
XYZxyz(22.9945, 15.3030, 80.3232)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58EB #E6EB58
analogous
#589CEB #5D58EB #A658EB
triadic
#5D58EB #EB5D58 #58EB5D
tetradic
#5D58EB #EB589C #E6EB58 #58EBA6
square
#5D58EB #EB589C #E6EB58 #58EBA6
split-complementary
#5D58EB #EBA658 #9CEB58
monochromatic
#1B15B3 #2821E4 #5D58EB #928FF2 #C7C5F8

Accessibility & contrast

On white

5.17
#5D58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5D58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58EB#FFFFFF#000000##FFFFFF
##5D58EB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d58eb;
/* rgb */ color: rgb(93, 88, 235);
/* oklch */ color: oklch(55.3% 0.215 278.3);
Tailwind
colors: {
  custom: {
    50: '#9988f2',
    500: '#5d58eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d58eb;
$custom-light: #9988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58eb",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 242.041,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.21451,
    "h": 278.3
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#5D58EB
secondary
#E8EAB5
accent
#DB0BD4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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