#5958DD#5958DD

#5958DD is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.197 H 277.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5958DD
RGBrgb(89, 88, 221)
HSLhsl(240, 66%, 61%)
HSVhsv(240, 60%, 87%)
CMYKcmyk(59.7%, 60.2%, 0%, 13.3%)
CIE-LABlab(44.69, 39.01, -68.03)
CIE-LCHlch(44.69, 78.42, 299.83°)
OKLaboklab(53.91% 0.0268 -0.1956)
OKLCHoklch(53.91% 0.197 277.8)
XYZxyz(20.6565, 14.3222, 70.0685)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5958DD #DCDD58
analogous
#5899DD #5958DD #9B58DD
triadic
#5958DD #DD5958 #58DD59
tetradic
#5958DD #DD5899 #DCDD58 #58DD9B
square
#5958DD #DD5899 #DCDD58 #58DD9B
split-complementary
#5958DD #DD9B58 #99DD58
monochromatic
#20209B #2B2ACE #5958DD #8C8BE7 #BEBEF2

Accessibility & contrast

On white

5.43
#5958DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5958DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5958DD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5958DD#FFFFFF#000000##FFFFFF
##5958DD1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5958dd;
/* rgb */ color: rgb(89, 88, 221);
/* oklch */ color: oklch(53.9% 0.197 277.8);
Tailwind
colors: {
  custom: {
    50: '#9487e8',
    500: '#5958dd',
    950: '#000000',
  },
}
SCSS
$custom: #5958dd;
$custom-light: #9487e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5958dd",
  "rgb": {
    "r": 89,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 240.451,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.19746,
    "h": 277.8
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#5958DD
secondary
#E1E2AF
accent
#CE17CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5958DD

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

Preview Lab → · Contrast checker → · Palette generator →

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