#5E58F3#5E58F3

#5E58F3 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.224 H 278.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5E58F3
RGBrgb(94, 88, 243)
HSLhsl(242, 87%, 65%)
HSVhsv(242, 64%, 95%)
CMYKcmyk(61.3%, 63.8%, 0%, 4.7%)
CIE-LABlab(46.75, 46.78, -77.08)
CIE-LCHlch(46.75, 90.17, 301.25°)
OKLaboklab(56.04% 0.0313 -0.2221)
OKLCHoklch(56.04% 0.224 278)
XYZxyz(24.2783, 15.8283, 86.5524)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58F3 #EDF358
analogous
#589FF3 #5E58F3 #AC58F3
triadic
#5E58F3 #F35E58 #58F35E
tetradic
#5E58F3 #F3589F #EDF358 #58F3AC
square
#5E58F3 #F3589F #EDF358 #58F3AC
split-complementary
#5E58F3 #F3AC58 #9FF358
monochromatic
#150EC3 #271FEF #5E58F3 #9591F7 #CCCAFB

Accessibility & contrast

On white

5.04
#5E58F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5E58F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58F3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58F3#FFFFFF#000000##FFFFFF
##5E58F31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#0068F0
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e58f3;
/* rgb */ color: rgb(94, 88, 243);
/* oklch */ color: oklch(56.0% 0.224 278.0);
Tailwind
colors: {
  custom: {
    50: '#9b88f8',
    500: '#5e58f3',
    950: '#000000',
  },
}
SCSS
$custom: #5e58f3;
$custom-light: #9b88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58f3",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 242.323,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.22428,
    "h": 278
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#5E58F3
secondary
#ECEEB9
accent
#E302DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E58F3

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

Preview Lab → · Contrast checker → · Palette generator →

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