#5958C8#5958C8

#5958C8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.170 H 279.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5958C8
RGBrgb(89, 88, 200)
HSLhsl(241, 50%, 56%)
HSVhsv(241, 56%, 78%)
CMYKcmyk(55.5%, 56%, 0%, 21.6%)
CIE-LABlab(43.17, 32.25, -58.45)
CIE-LCHlch(43.17, 66.76, 298.89°)
OKLaboklab(52.31% 0.0271 -0.1675)
OKLCHoklch(52.31% 0.17 279.2)
XYZxyz(18.0316, 13.2722, 56.2440)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958C8 #C7C858
analogous
#588FC8 #5958C8 #9158C8
triadic
#5958C8 #C85958 #58C859
tetradic
#5958C8 #C8588F #C7C858 #58C891
square
#5958C8 #C8588F #C7C858 #58C891
split-complementary
#5958C8 #C89158 #8FC858
monochromatic
#2A297D #3938AB #5958C8 #8786D7 #B5B4E6

Accessibility & contrast

On white

5.75
#5958C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5958C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958C8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958C8#FFFFFF#000000##FFFFFF
##5958C81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#207287
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5958c8;
/* rgb */ color: rgb(89, 88, 200);
/* oklch */ color: oklch(52.3% 0.170 279.2);
Tailwind
colors: {
  custom: {
    50: '#9187d9',
    500: '#5958c8',
    950: '#000000',
  },
}
SCSS
$custom: #5958c8;
$custom-light: #9187d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5958c8",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 240.536,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.16964,
    "h": 279.2
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#5958C8
secondary
#D4D5A7
accent
#DA4ED9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5958C8

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

Preview Lab → · Contrast checker → · Palette generator →

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