#5E58F5#5E58F5

#5E58F5 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.2% C 0.227 H 277.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5E58F5
RGBrgb(94, 88, 245)
HSLhsl(242, 89%, 65%)
HSVhsv(242, 64%, 96%)
CMYKcmyk(61.6%, 64.1%, 0%, 3.9%)
CIE-LABlab(46.91, 47.41, -77.94)
CIE-LCHlch(46.91, 91.22, 301.31°)
OKLaboklab(56.2% 0.0312 -0.2246)
OKLCHoklch(56.2% 0.227 277.9)
XYZxyz(24.5819, 15.9498, 88.1517)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58F5 #EFF558
analogous
#58A0F5 #5E58F5 #AC58F5
triadic
#5E58F5 #F55E58 #58F55E
tetradic
#5E58F5 #F558A0 #EFF558 #58F5AC
square
#5E58F5 #F558A0 #EFF558 #58F5AC
split-complementary
#5E58F5 #F5AC58 #A0F558
monochromatic
#130CC7 #261EF2 #5E58F5 #9692F8 #CDCBFC

Accessibility & contrast

On white

5.01
#5E58F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5E58F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58F5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58F5#FFFFFF#000000##FFFFFF
##5E58F51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e58f5;
/* rgb */ color: rgb(94, 88, 245);
/* oklch */ color: oklch(56.2% 0.227 277.9);
Tailwind
colors: {
  custom: {
    50: '#9b88fa',
    500: '#5e58f5',
    950: '#000000',
  },
}
SCSS
$custom: #5e58f5;
$custom-light: #9b88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58f5",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 242.293,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.22674,
    "h": 277.9
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#5E58F5
secondary
#EDEFBA
accent
#E500DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #5E58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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