#5E58EA#5E58EA

#5E58EA is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.213 H 278.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5E58EA
RGBrgb(94, 88, 234)
HSLhsl(242, 78%, 63%)
HSVhsv(242, 62%, 92%)
CMYKcmyk(59.8%, 62.4%, 0%, 8.2%)
CIE-LABlab(46.04, 43.95, -73.18)
CIE-LCHlch(46.04, 85.37, 300.99°)
OKLaboklab(55.3% 0.0321 -0.2106)
OKLCHoklch(55.3% 0.213 278.7)
XYZxyz(22.9524, 15.2979, 79.5692)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58EA #E4EA58
analogous
#589BEA #5E58EA #A758EA
triadic
#5E58EA #EA5E58 #58EA5E
tetradic
#5E58EA #EA589B #E4EA58 #58EAA7
square
#5E58EA #EA589B #E4EA58 #58EAA7
split-complementary
#5E58EA #EAA758 #9BEA58
monochromatic
#1D16B1 #2A22E3 #5E58EA #928EF1 #C7C5F8

Accessibility & contrast

On white

5.17
#5E58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5E58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58EA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58EA#FFFFFF#000000##FFFFFF
##5E58EA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e58ea;
/* rgb */ color: rgb(94, 88, 234);
/* oklch */ color: oklch(55.3% 0.213 278.7);
Tailwind
colors: {
  custom: {
    50: '#9988f2',
    500: '#5e58ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e58ea;
$custom-light: #9988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58ea",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 242.466,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.553,
    "c": 0.21306,
    "h": 278.7
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

primary
#5E58EA
secondary
#E7E9B5
accent
#DA0CD1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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