#5955FF#5955FF

#5955FF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.3% C 0.243 H 276.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5955FF
RGBrgb(89, 85, 255)
HSLhsl(241, 100%, 67%)
HSVhsv(241, 67%, 100%)
CMYKcmyk(65.1%, 66.7%, 0%, 0%)
CIE-LABlab(46.76, 51.59, -83.77)
CIE-LCHlch(46.76, 98.38, 301.62°)
OKLaboklab(56.26% 0.0264 -0.2418)
OKLCHoklch(56.26% 0.243 276.2)
XYZxyz(25.4124, 15.8386, 96.3063)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955FF #FBFF55
analogous
#55A6FF #5955FF #AE55FF
triadic
#5955FF #FF5955 #55FF59
tetradic
#5955FF #FF55A6 #FBFF55 #55FFAE
square
#5955FF #FF55A6 #FBFF55 #55FFAE
split-complementary
#5955FF #FFAE55 #A6FF55
monochromatic
#0500DA #1D18FF #5955FF #9592FF #D1CFFF

Accessibility & contrast

On white

5.04
#5955FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5955FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955FF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955FF#FFFFFF#000000##FFFFFF
##5955FF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5955ff;
/* rgb */ color: rgb(89, 85, 255);
/* oklch */ color: oklch(56.3% 0.243 276.2);
Tailwind
colors: {
  custom: {
    50: '#9a86ff',
    500: '#5955ff',
    950: '#000000',
  },
}
SCSS
$custom: #5955ff;
$custom-light: #9a86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5955ff",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 255
  },
  "hsl": {
    "h": 241.412,
    "s": 100,
    "l": 66.667
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.24326,
    "h": 276.2
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#5955FF
secondary
#F2F3BD
accent
#E600E0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5955FF

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

Preview Lab → · Contrast checker → · Palette generator →

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