#5958AD#5958AD

#5958AD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.132 H 281.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5958AD
RGBrgb(89, 88, 173)
HSLhsl(241, 34%, 51%)
HSVhsv(241, 49%, 68%)
CMYKcmyk(48.6%, 49.1%, 0%, 32.2%)
CIE-LABlab(41.41, 23.66, -45.53)
CIE-LCHlch(41.41, 51.31, 297.46°)
OKLaboklab(50.42% 0.0254 -0.1295)
OKLCHoklch(50.42% 0.132 281.1)
XYZxyz(15.1501, 12.1196, 41.0681)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958AD #ACAD58
analogous
#5881AD #5958AD #8358AD
triadic
#5958AD #AD5958 #58AD59
tetradic
#5958AD #AD5881 #ACAD58 #58AD83
square
#5958AD #AD5881 #ACAD58 #58AD83
split-complementary
#5958AD #AD8358 #81AD58
monochromatic
#2E2E5D #434286 #5958AD #8281C1 #ABAAD5

Accessibility & contrast

On white

6.13
#5958AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5958AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958AD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958AD#FFFFFF#000000##FFFFFF
##5958AD1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B0
Deuteranopia (green-blind)
#2C5FAB
Tritanopia (blue-blind)
#3B6A7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5958ad;
/* rgb */ color: rgb(89, 88, 173);
/* oklch */ color: oklch(50.4% 0.132 281.1);
Tailwind
colors: {
  custom: {
    50: '#8d87c6',
    500: '#5958ad',
    950: '#000000',
  },
}
SCSS
$custom: #5958ad;
$custom-light: #8d87c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5958ad",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 240.706,
    "s": 34.137,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.13193,
    "h": 281.1
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#5958AD
secondary
#C3C39E
accent
#CA5EC9
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5958AD

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

Preview Lab → · Contrast checker → · Palette generator →

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