#5E58DF#5E58DF

#5E58DF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.199 H 279.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E58DF
RGBrgb(94, 88, 223)
HSLhsl(243, 68%, 61%)
HSVhsv(243, 61%, 87%)
CMYKcmyk(57.8%, 60.5%, 0%, 12.5%)
CIE-LABlab(45.20, 40.48, -68.32)
CIE-LCHlch(45.20, 79.42, 300.65°)
OKLaboklab(54.42% 0.0327 -0.1963)
OKLCHoklch(54.42% 0.199 279.5)
XYZxyz(21.4209, 14.6853, 71.5035)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58DF #D9DF58
analogous
#5895DF #5E58DF #A158DF
triadic
#5E58DF #DF5E58 #58DF5E
tetradic
#5E58DF #DF5895 #D9DF58 #58DFA1
square
#5E58DF #DF5895 #D9DF58 #58DFA1
split-complementary
#5E58DF #DFA158 #95DF58
monochromatic
#241E9E #3028D2 #5E58DF #908BE9 #C1BFF3

Accessibility & contrast

On white

5.33
#5E58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58DF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58DF#FFFFFF#000000##FFFFFF
##5E58DF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#047993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e58df;
/* rgb */ color: rgb(94, 88, 223);
/* oklch */ color: oklch(54.4% 0.199 279.5);
Tailwind
colors: {
  custom: {
    50: '#9787ea',
    500: '#5e58df',
    950: '#000000',
  },
}
SCSS
$custom: #5e58df;
$custom-light: #9787ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58df",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 242.667,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.19906,
    "h": 279.5
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#5E58DF
secondary
#E1E3B0
accent
#D016C7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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