#5958E1#5958E1

#5958E1 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.203 H 277.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5958E1
RGBrgb(89, 88, 225)
HSLhsl(240, 70%, 61%)
HSVhsv(240, 61%, 88%)
CMYKcmyk(60.4%, 60.9%, 0%, 11.8%)
CIE-LABlab(44.99, 40.30, -69.81)
CIE-LCHlch(44.99, 80.61, 300.00°)
OKLaboklab(54.23% 0.0267 -0.2009)
OKLCHoklch(54.23% 0.203 277.6)
XYZxyz(21.1958, 14.5379, 72.9087)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958E1 #E0E158
analogous
#589CE1 #5958E1 #9E58E1
triadic
#5958E1 #E15958 #58E159
tetradic
#5958E1 #E1589C #E0E158 #58E19E
square
#5958E1 #E1589C #E0E158 #58E19E
split-complementary
#5958E1 #E19E58 #9CE158
monochromatic
#1E1DA2 #2826D5 #5958E1 #8D8CEA #C0C0F4

Accessibility & contrast

On white

5.37
#5958E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5958E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958E1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958E1#FFFFFF#000000##FFFFFF
##5958E11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5958e1;
/* rgb */ color: rgb(89, 88, 225);
/* oklch */ color: oklch(54.2% 0.203 277.6);
Tailwind
colors: {
  custom: {
    50: '#9587eb',
    500: '#5958e1',
    950: '#000000',
  },
}
SCSS
$custom: #5958e1;
$custom-light: #9587eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5958e1",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 240.438,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.20262,
    "h": 277.6
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#5958E1
secondary
#E4E4B1
accent
#D214D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5958E1

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

Preview Lab → · Contrast checker → · Palette generator →

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