#5E58DE#5E58DE

#5E58DE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.198 H 279.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5E58DE
RGBrgb(94, 88, 222)
HSLhsl(243, 67%, 61%)
HSVhsv(243, 60%, 87%)
CMYKcmyk(57.7%, 60.4%, 0%, 12.9%)
CIE-LABlab(45.13, 40.17, -67.88)
CIE-LCHlch(45.13, 78.87, 300.62°)
OKLaboklab(54.34% 0.0328 -0.195)
OKLCHoklch(54.34% 0.198 279.5)
XYZxyz(21.2865, 14.6316, 70.7956)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58DE #D8DE58
analogous
#5895DE #5E58DE #A158DE
triadic
#5E58DE #DE5E58 #58DE5E
tetradic
#5E58DE #DE5895 #D8DE58 #58DEA1
square
#5E58DE #DE5895 #D8DE58 #58DEA1
split-complementary
#5E58DE #DEA158 #95DE58
monochromatic
#251F9D #3129D0 #5E58DE #8F8BE8 #C1BEF2

Accessibility & contrast

On white

5.35
#5E58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5E58DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58DE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58DE#FFFFFF#000000##FFFFFF
##5E58DE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#087993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e58de;
/* rgb */ color: rgb(94, 88, 222);
/* oklch */ color: oklch(54.3% 0.198 279.5);
Tailwind
colors: {
  custom: {
    50: '#9787e9',
    500: '#5e58de',
    950: '#000000',
  },
}
SCSS
$custom: #5e58de;
$custom-light: #9787e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58de",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 242.687,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.19777,
    "h": 279.5
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#5E58DE
secondary
#E0E2B0
accent
#CF17C7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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