#5958D2#5958D2

#5958D2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.183 H 278.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5958D2
RGBrgb(89, 88, 210)
HSLhsl(240, 58%, 58%)
HSVhsv(240, 58%, 82%)
CMYKcmyk(57.6%, 58.1%, 0%, 17.6%)
CIE-LABlab(43.88, 35.47, -63.06)
CIE-LCHlch(43.88, 72.36, 299.36°)
OKLaboklab(53.06% 0.0271 -0.181)
OKLCHoklch(53.06% 0.183 278.5)
XYZxyz(19.2387, 13.7551, 62.6015)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958D2 #D1D258
analogous
#5894D2 #5958D2 #9658D2
triadic
#5958D2 #D25958 #58D259
tetradic
#5958D2 #D25894 #D1D258 #58D296
square
#5958D2 #D25894 #D1D258 #58D296
split-complementary
#5958D2 #D29658 #94D258
monochromatic
#26258A #3332BB #5958D2 #8988DF #B9B8EC

Accessibility & contrast

On white

5.60
#5958D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5958D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958D2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958D2#FFFFFF#000000##FFFFFF
##5958D21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#09758C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5958d2;
/* rgb */ color: rgb(89, 88, 210);
/* oklch */ color: oklch(53.1% 0.183 278.5);
Tailwind
colors: {
  custom: {
    50: '#9387e1',
    500: '#5958d2',
    950: '#000000',
  },
}
SCSS
$custom: #5958d2;
$custom-light: #9387e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5958d2",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 240.492,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.18305,
    "h": 278.5
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#5958D2
secondary
#DBDBAB
accent
#E147E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5958D2

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

Preview Lab → · Contrast checker → · Palette generator →

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