#5E58F6#5E58F6

#5E58F6 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.3% C 0.228 H 277.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5E58F6
RGBrgb(94, 88, 246)
HSLhsl(242, 90%, 65%)
HSVhsv(242, 64%, 96%)
CMYKcmyk(61.8%, 64.2%, 0%, 3.5%)
CIE-LABlab(46.99, 47.72, -78.37)
CIE-LCHlch(46.99, 91.75, 301.34°)
OKLaboklab(56.29% 0.0311 -0.2258)
OKLCHoklch(56.29% 0.228 277.8)
XYZxyz(24.7350, 16.0110, 88.9579)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58F6 #F0F658
analogous
#58A1F6 #5E58F6 #AD58F6
triadic
#5E58F6 #F65E58 #58F65E
tetradic
#5E58F6 #F658A1 #F0F658 #58F6AD
square
#5E58F6 #F658A1 #F0F658 #58F6AD
split-complementary
#5E58F6 #F6AD58 #A1F658
monochromatic
#120BC9 #261EF3 #5E58F6 #9692F9 #CECCFC

Accessibility & contrast

On white

5.00
#5E58F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5E58F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58F6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58F6#FFFFFF#000000##FFFFFF
##5E58F61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FB
Deuteranopia (green-blind)
#0069F3
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e58f6;
/* rgb */ color: rgb(94, 88, 246);
/* oklch */ color: oklch(56.3% 0.228 277.8);
Tailwind
colors: {
  custom: {
    50: '#9b88fa',
    500: '#5e58f6',
    950: '#000000',
  },
}
SCSS
$custom: #5e58f6;
$custom-light: #9b88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58f6",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 246
  },
  "hsl": {
    "h": 242.278,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.22798,
    "h": 277.8
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E58F6

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

Preview Lab → · Contrast checker → · Palette generator →

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