#5958ED#5958ED

#5958ED is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.218 H 276.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5958ED
RGBrgb(89, 88, 237)
HSLhsl(240, 81%, 64%)
HSVhsv(240, 63%, 93%)
CMYKcmyk(62.4%, 62.9%, 0%, 7.1%)
CIE-LABlab(45.93, 44.15, -75.07)
CIE-LCHlch(45.93, 87.09, 300.46°)
OKLaboklab(55.2% 0.0259 -0.2163)
OKLCHoklch(55.2% 0.218 276.8)
XYZxyz(22.8906, 15.2159, 81.8350)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958ED #ECED58
analogous
#58A1ED #5958ED #A358ED
triadic
#5958ED #ED5958 #58ED59
tetradic
#5958ED #ED58A1 #ECED58 #58EDA3
square
#5958ED #ED58A1 #ECED58 #58EDA3
split-complementary
#5958ED #EDA358 #A1ED58
monochromatic
#1514B7 #2221E7 #5958ED #908FF3 #C7C6F9

Accessibility & contrast

On white

5.19
#5958ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5958ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958ED
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958ED#FFFFFF#000000##FFFFFF
##5958ED1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5958ed;
/* rgb */ color: rgb(89, 88, 237);
/* oklch */ color: oklch(55.2% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#9787f4',
    500: '#5958ed',
    950: '#000000',
  },
}
SCSS
$custom: #5958ed;
$custom-light: #9787f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5958ed",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 240.403,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.21785,
    "h": 276.8
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#5958ED
secondary
#EAEBB6
accent
#DD09DB
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5958ED

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

Preview Lab → · Contrast checker → · Palette generator →

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