#5E5980#5E5980

#5E5980 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.5% C 0.062 H 289.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5E5980
RGBrgb(94, 89, 128)
HSLhsl(248, 18%, 43%)
HSVhsv(248, 30%, 50%)
CMYKcmyk(26.6%, 30.5%, 0%, 49.8%)
CIE-LABlab(39.72, 11.24, -21.15)
CIE-LCHlch(39.72, 23.95, 298.00°)
OKLaboklab(48.46% 0.021 -0.0585)
OKLCHoklch(48.46% 0.062 289.7)
XYZxyz(12.0838, 11.0828, 21.9204)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5980 #7B8059
analogous
#596880 #5E5980 #715980
triadic
#5E5980 #805E59 #59805E
tetradic
#5E5980 #805968 #7B8059 #598071
square
#5E5980 #805968 #7B8059 #598071
split-complementary
#5E5980 #807159 #688059
monochromatic
#292738 #43405C #5E5980 #7C76A0 #9E9AB9

Accessibility & contrast

On white

6.53
#5E5980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5E5980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5980
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5980#FFFFFF#000000##FFFFFF
##5E59801.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E82
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#576067
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e5980;
/* rgb */ color: rgb(94, 89, 128);
/* oklch */ color: oklch(48.5% 0.062 289.7);
Tailwind
colors: {
  custom: {
    50: '#8c87a5',
    500: '#5e5980',
    950: '#000000',
  },
}
SCSS
$custom: #5e5980;
$custom-light: #8c87a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5980",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 128
  },
  "hsl": {
    "h": 247.692,
    "s": 17.972,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.06214,
    "h": 289.7
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#5E5980
secondary
#A4A78E
accent
#BB6DB1
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #5E5980

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

Preview Lab → · Contrast checker → · Palette generator →

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