#5E58F0#5E58F0

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

Color values

HEX#5E58F0
RGBrgb(94, 88, 240)
HSLhsl(242, 84%, 64%)
HSVhsv(242, 63%, 94%)
CMYKcmyk(60.8%, 63.3%, 0%, 5.9%)
CIE-LABlab(46.51, 45.84, -75.79)
CIE-LCHlch(46.51, 88.57, 301.17°)
OKLaboklab(55.79% 0.0316 -0.2183)
OKLCHoklch(55.79% 0.221 278.2)
XYZxyz(23.8289, 15.6486, 84.1859)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58F0 #EAF058
analogous
#589EF0 #5E58F0 #AA58F0
triadic
#5E58F0 #F05E58 #58F05E
tetradic
#5E58F0 #F0589E #EAF058 #58F0AA
square
#5E58F0 #F0589E #EAF058 #58F0AA
split-complementary
#5E58F0 #F0AA58 #9EF058
monochromatic
#1811BD #2820EB #5E58F0 #9490F5 #CAC8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E58F0#FFFFFF#000000##FFFFFF
##5E58F01.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)
#0074F5
Deuteranopia (green-blind)
#0068ED
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e58f0;
/* rgb */ color: rgb(94, 88, 240);
/* oklch */ color: oklch(55.8% 0.221 278.2);
Tailwind
colors: {
  custom: {
    50: '#9a88f6',
    500: '#5e58f0',
    950: '#000000',
  },
}
SCSS
$custom: #5e58f0;
$custom-light: #9a88f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58f0",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 242.368,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.22056,
    "h": 278.2
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#5E58F0
secondary
#EAECB8
accent
#E006D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E58F0

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

Preview Lab → · Contrast checker → · Palette generator →

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