#5956FF#5956FF

#5956FF is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.4% C 0.242 H 276.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5956FF
RGBrgb(89, 86, 255)
HSLhsl(241, 100%, 67%)
HSVhsv(241, 66%, 100%)
CMYKcmyk(65.1%, 66.3%, 0%, 0%)
CIE-LABlab(46.97, 51.02, -83.43)
CIE-LCHlch(46.97, 97.79, 301.45°)
OKLaboklab(56.42% 0.0257 -0.2408)
OKLCHoklch(56.42% 0.242 276.1)
XYZxyz(25.4917, 15.9972, 96.3327)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956FF #FCFF56
analogous
#56A8FF #5956FF #AE56FF
triadic
#5956FF #FF5956 #56FF59
tetradic
#5956FF #FF56A8 #FCFF56 #56FFAE
square
#5956FF #FF56A8 #FCFF56 #56FFAE
split-complementary
#5956FF #FFAE56 #A8FF56
monochromatic
#0400DB #1D19FF #5956FF #9593FF #D1D0FF

Accessibility & contrast

On white

5.00
#5956FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5956FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956FF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956FF#FFFFFF#000000##FFFFFF
##5956FF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#0083A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5956ff;
/* rgb */ color: rgb(89, 86, 255);
/* oklch */ color: oklch(56.4% 0.242 276.1);
Tailwind
colors: {
  custom: {
    50: '#9a87ff',
    500: '#5956ff',
    950: '#000000',
  },
}
SCSS
$custom: #5956ff;
$custom-light: #9a87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5956ff",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 241.065,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.24219,
    "h": 276.1
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5956FF

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

Preview Lab → · Contrast checker → · Palette generator →

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