#5D58F1#5D58F1

#5D58F1 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.222 H 277.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5D58F1
RGBrgb(93, 88, 241)
HSLhsl(242, 85%, 65%)
HSVhsv(242, 63%, 95%)
CMYKcmyk(61.4%, 63.5%, 0%, 5.5%)
CIE-LABlab(46.52, 46.00, -76.34)
CIE-LCHlch(46.52, 89.13, 301.07°)
OKLaboklab(55.8% 0.0303 -0.2199)
OKLCHoklch(55.8% 0.222 277.8)
XYZxyz(23.8760, 15.6556, 84.9657)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58F1 #ECF158
analogous
#58A0F1 #5D58F1 #AA58F1
triadic
#5D58F1 #F15D58 #58F15D
tetradic
#5D58F1 #F158A0 #ECF158 #58F1AA
square
#5D58F1 #F158A0 #ECF158 #58F1AA
split-complementary
#5D58F1 #F1AA58 #A0F158
monochromatic
#1610BF #2620EC #5D58F1 #9490F6 #CBC9FA

Accessibility & contrast

On white

5.08
#5D58F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5D58F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58F1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58F1#FFFFFF#000000##FFFFFF
##5D58F11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d58f1;
/* rgb */ color: rgb(93, 88, 241);
/* oklch */ color: oklch(55.8% 0.222 277.8);
Tailwind
colors: {
  custom: {
    50: '#9a88f7',
    500: '#5d58f1',
    950: '#000000',
  },
}
SCSS
$custom: #5d58f1;
$custom-light: #9a88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58f1",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 241.961,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55803,
    "c": 0.222,
    "h": 277.8
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#5D58F1
secondary
#EBEDB8
accent
#E105DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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