#5958CD#5958CD

#5958CD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.176 H 278.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5958CD
RGBrgb(89, 88, 205)
HSLhsl(241, 54%, 57%)
HSVhsv(241, 57%, 80%)
CMYKcmyk(56.6%, 57.1%, 0%, 19.6%)
CIE-LABlab(43.52, 33.86, -60.77)
CIE-LCHlch(43.52, 69.57, 299.13°)
OKLaboklab(52.68% 0.0271 -0.1743)
OKLCHoklch(52.68% 0.176 278.8)
XYZxyz(18.6255, 13.5098, 59.3720)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958CD #CCCD58
analogous
#5891CD #5958CD #9458CD
triadic
#5958CD #CD5958 #58CD59
tetradic
#5958CD #CD5891 #CCCD58 #58CD94
square
#5958CD #CD5891 #CCCD58 #58CD94
split-complementary
#5958CD #CD9458 #91CD58
monochromatic
#282783 #3635B2 #5958CD #8887DB #B7B6E9

Accessibility & contrast

On white

5.67
#5958CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5958CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958CD#FFFFFF#000000##FFFFFF
##5958CD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#17748A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5958cd;
/* rgb */ color: rgb(89, 88, 205);
/* oklch */ color: oklch(52.7% 0.176 278.8);
Tailwind
colors: {
  custom: {
    50: '#9287dd',
    500: '#5958cd',
    950: '#000000',
  },
}
SCSS
$custom: #5958cd;
$custom-light: #9287dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5958cd",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 240.513,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.17638,
    "h": 278.8
  },
  "luminance": 0.13511
}

Semantic roles & 50–950 ramp

primary
#5958CD
secondary
#D8D8A9
accent
#DD4BDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5958CD

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

Preview Lab → · Contrast checker → · Palette generator →

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