#5E58EB#5E58EB

#5E58EB is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.4% C 0.214 H 278.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5E58EB
RGBrgb(94, 88, 235)
HSLhsl(242, 79%, 63%)
HSVhsv(242, 63%, 92%)
CMYKcmyk(60%, 62.6%, 0%, 7.8%)
CIE-LABlab(46.12, 44.26, -73.62)
CIE-LCHlch(46.12, 85.90, 301.02°)
OKLaboklab(55.38% 0.032 -0.2119)
OKLCHoklch(55.38% 0.214 278.6)
XYZxyz(23.0964, 15.3556, 80.3280)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58EB #E5EB58
analogous
#589BEB #5E58EB #A758EB
triadic
#5E58EB #EB5E58 #58EB5E
tetradic
#5E58EB #EB589B #E5EB58 #58EBA7
square
#5E58EB #EB589B #E5EB58 #58EBA7
split-complementary
#5E58EB #EBA758 #9BEB58
monochromatic
#1C15B3 #2921E4 #5E58EB #938FF2 #C7C5F8

Accessibility & contrast

On white

5.16
#5E58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5E58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58EB#FFFFFF#000000##FFFFFF
##5E58EB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e58eb;
/* rgb */ color: rgb(94, 88, 235);
/* oklch */ color: oklch(55.4% 0.214 278.6);
Tailwind
colors: {
  custom: {
    50: '#9988f2',
    500: '#5e58eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e58eb;
$custom-light: #9988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58eb",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 242.449,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.21431,
    "h": 278.6
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#5E58EB
secondary
#E7EAB5
accent
#DB0BD2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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