#5D58F5#5D58F5

#5D58F5 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.227 H 277.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5D58F5
RGBrgb(93, 88, 245)
HSLhsl(242, 89%, 65%)
HSVhsv(242, 64%, 96%)
CMYKcmyk(62%, 64.1%, 0%, 3.9%)
CIE-LABlab(46.84, 47.26, -78.06)
CIE-LCHlch(46.84, 91.25, 301.20°)
OKLaboklab(56.14% 0.03 -0.225)
OKLCHoklch(56.14% 0.227 277.6)
XYZxyz(24.4800, 15.8972, 88.1469)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58F5 #F0F558
analogous
#58A1F5 #5D58F5 #AC58F5
triadic
#5D58F5 #F55D58 #58F55D
tetradic
#5D58F5 #F558A1 #F0F558 #58F5AC
square
#5D58F5 #F558A1 #F0F558 #58F5AC
split-complementary
#5D58F5 #F5AC58 #A1F558
monochromatic
#120CC7 #251EF2 #5D58F5 #9592F8 #CDCBFC

Accessibility & contrast

On white

5.02
#5D58F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5D58F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58F5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58F5#FFFFFF#000000##FFFFFF
##5D58F51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d58f5;
/* rgb */ color: rgb(93, 88, 245);
/* oklch */ color: oklch(56.1% 0.227 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a88fa',
    500: '#5d58f5',
    950: '#000000',
  },
}
SCSS
$custom: #5d58f5;
$custom-light: #9a88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58f5",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 241.911,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.22695,
    "h": 277.6
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#5D58F5
secondary
#EDEFBA
accent
#E500DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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