#5955DC#5955DC

#5955DC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.3% C 0.200 H 278.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5955DC
RGBrgb(89, 85, 220)
HSLhsl(242, 66%, 60%)
HSVhsv(242, 61%, 86%)
CMYKcmyk(59.5%, 61.4%, 0%, 13.7%)
CIE-LABlab(43.93, 40.49, -68.71)
CIE-LCHlch(43.93, 79.75, 300.51°)
OKLaboklab(53.32% 0.0295 -0.1976)
OKLCHoklch(53.32% 0.2 278.5)
XYZxyz(20.2825, 13.7867, 69.2886)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955DC #D8DC55
analogous
#5594DC #5955DC #9D55DC
triadic
#5955DC #DC5955 #55DC59
tetradic
#5955DC #DC5594 #D8DC55 #55DC9D
square
#5955DC #DC5594 #D8DC55 #55DC9D
split-complementary
#5955DC #DC9D55 #94DC55
monochromatic
#231F97 #2E2ACA #5955DC #8B88E6 #BCBBF1

Accessibility & contrast

On white

5.59
#5955DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5955DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955DC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955DC#FFFFFF#000000##FFFFFF
##5955DC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5955dc;
/* rgb */ color: rgb(89, 85, 220);
/* oklch */ color: oklch(53.3% 0.200 278.5);
Tailwind
colors: {
  custom: {
    50: '#9485e8',
    500: '#5955dc',
    950: '#000000',
  },
}
SCSS
$custom: #5955dc;
$custom-light: #9485e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5955dc",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 241.778,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.19983,
    "h": 278.5
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#5955DC
secondary
#DFE0AC
accent
#E93FE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5955DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5955DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva