#5E58CC#5E58CC

#5E58CC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.174 H 281.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5E58CC
RGBrgb(94, 88, 204)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(53.9%, 56.9%, 0%, 20%)
CIE-LABlab(43.83, 34.49, -59.69)
CIE-LCHlch(43.83, 68.94, 300.02°)
OKLaboklab(52.98% 0.0331 -0.1709)
OKLCHoklch(52.98% 0.174 281)
XYZxyz(19.0015, 13.7176, 58.7615)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58CC #C6CC58
analogous
#588CCC #5E58CC #9858CC
triadic
#5E58CC #CC5E58 #58CC5E
tetradic
#5E58CC #CC588C #C6CC58 #58CC98
square
#5E58CC #CC588C #C6CC58 #58CC98
split-complementary
#5E58CC #CC9858 #8CCC58
monochromatic
#2C2882 #3C36B1 #5E58CC #8B87DA #B8B6E9

Accessibility & contrast

On white

5.61
#5E58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5E58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58CC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58CC#FFFFFF#000000##FFFFFF
##5E58CC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#2C7389
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e58cc;
/* rgb */ color: rgb(94, 88, 204);
/* oklch */ color: oklch(53.0% 0.174 281.0);
Tailwind
colors: {
  custom: {
    50: '#9487dc',
    500: '#5e58cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e58cc;
$custom-light: #9487dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58cc",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 243.103,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.17413,
    "h": 281
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#5E58CC
secondary
#D5D7A8
accent
#DD4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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