#5958AE#5958AE

#5958AE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.133 H 281.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5958AE
RGBrgb(89, 88, 174)
HSLhsl(241, 35%, 51%)
HSVhsv(241, 49%, 68%)
CMYKcmyk(48.9%, 49.4%, 0%, 31.8%)
CIE-LABlab(41.47, 23.98, -46.02)
CIE-LCHlch(41.47, 51.89, 297.52°)
OKLaboklab(50.49% 0.0255 -0.1309)
OKLCHoklch(50.49% 0.133 281)
XYZxyz(15.2472, 12.1585, 41.5796)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958AE #ADAE58
analogous
#5882AE #5958AE #8458AE
triadic
#5958AE #AE5958 #58AE59
tetradic
#5958AE #AE5882 #ADAE58 #58AE84
square
#5958AE #AE5882 #ADAE58 #58AE84
split-complementary
#5958AE #AE8458 #82AE58
monochromatic
#2E2E5E #424287 #5958AE #8281C2 #ABAAD6

Accessibility & contrast

On white

6.12
#5958AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5958AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958AE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958AE#FFFFFF#000000##FFFFFF
##5958AE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#3A6A7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5958ae;
/* rgb */ color: rgb(89, 88, 174);
/* oklch */ color: oklch(50.5% 0.133 281.0);
Tailwind
colors: {
  custom: {
    50: '#8d87c7',
    500: '#5958ae',
    950: '#000000',
  },
}
SCSS
$custom: #5958ae;
$custom-light: #8d87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5958ae",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 240.698,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.13337,
    "h": 281
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#5958AE
secondary
#C3C49E
accent
#CB5DC9
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5958AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5958AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva