#5958DB#5958DB

#5958DB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.8% C 0.195 H 277.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5958DB
RGBrgb(89, 88, 219)
HSLhsl(240, 65%, 60%)
HSVhsv(240, 60%, 86%)
CMYKcmyk(59.4%, 59.8%, 0%, 14.1%)
CIE-LABlab(44.54, 38.37, -67.13)
CIE-LCHlch(44.54, 77.33, 299.75°)
OKLaboklab(53.75% 0.0269 -0.193)
OKLCHoklch(53.75% 0.195 277.9)
XYZxyz(20.3916, 14.2163, 68.6735)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958DB #DADB58
analogous
#5898DB #5958DB #9A58DB
triadic
#5958DB #DB5958 #58DB59
tetradic
#5958DB #DB5898 #DADB58 #58DB9A
square
#5958DB #DB5898 #DADB58 #58DB9A
split-complementary
#5958DB #DB9A58 #98DB58
monochromatic
#222198 #2D2CCA #5958DB #8B8AE6 #BDBDF1

Accessibility & contrast

On white

5.46
#5958DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5958DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958DB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958DB#FFFFFF#000000##FFFFFF
##5958DB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5958db;
/* rgb */ color: rgb(89, 88, 219);
/* oklch */ color: oklch(53.8% 0.195 277.9);
Tailwind
colors: {
  custom: {
    50: '#9487e7',
    500: '#5958db',
    950: '#000000',
  },
}
SCSS
$custom: #5958db;
$custom-light: #9487e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5958db",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 240.458,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.19486,
    "h": 277.9
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#5958DB
secondary
#E0E1AE
accent
#CC19CB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5958DB

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

Preview Lab → · Contrast checker → · Palette generator →

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