#5E58DB#5E58DB

#5E58DB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.194 H 279.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5E58DB
RGBrgb(94, 88, 219)
HSLhsl(243, 65%, 60%)
HSVhsv(243, 60%, 86%)
CMYKcmyk(57.1%, 59.8%, 0%, 14.1%)
CIE-LABlab(44.90, 39.22, -66.53)
CIE-LCHlch(44.90, 77.23, 300.52°)
OKLaboklab(54.11% 0.0329 -0.1911)
OKLCHoklch(54.11% 0.194 279.8)
XYZxyz(20.8880, 14.4722, 68.6968)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58DB #D5DB58
analogous
#5893DB #5E58DB #9F58DB
triadic
#5E58DB #DB5E58 #58DB5E
tetradic
#5E58DB #DB5893 #D5DB58 #58DB9F
square
#5E58DB #DB5893 #D5DB58 #58DB9F
split-complementary
#5E58DB #DB9F58 #93DB58
monochromatic
#262198 #332CCA #5E58DB #8F8AE6 #BFBDF1

Accessibility & contrast

On white

5.39
#5E58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5E58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58DB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58DB#FFFFFF#000000##FFFFFF
##5E58DB1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#137891
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e58db;
/* rgb */ color: rgb(94, 88, 219);
/* oklch */ color: oklch(54.1% 0.194 279.8);
Tailwind
colors: {
  custom: {
    50: '#9787e7',
    500: '#5e58db',
    950: '#000000',
  },
}
SCSS
$custom: #5e58db;
$custom-light: #9787e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58db",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 242.748,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.1939,
    "h": 279.8
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#5E58DB
secondary
#DEE1AE
accent
#CC19C4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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