#5956F4#5956F4

#5956F4 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.5% C 0.229 H 276.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5956F4
RGBrgb(89, 86, 244)
HSLhsl(241, 88%, 65%)
HSVhsv(241, 65%, 96%)
CMYKcmyk(63.5%, 64.8%, 0%, 4.3%)
CIE-LABlab(46.05, 47.55, -78.79)
CIE-LCHlch(46.05, 92.03, 301.11°)
OKLaboklab(55.47% 0.0269 -0.2272)
OKLCHoklch(55.47% 0.229 276.7)
XYZxyz(23.7714, 15.3091, 87.2727)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956F4 #F1F456
analogous
#56A2F4 #5956F4 #A856F4
triadic
#5956F4 #F45956 #56F459
tetradic
#5956F4 #F456A2 #F1F456 #56F4A8
square
#5956F4 #F456A2 #F1F456 #56F4A8
split-complementary
#5956F4 #F4A856 #A2F456
monochromatic
#100DC3 #211DF0 #5956F4 #918FF8 #CAC9FB

Accessibility & contrast

On white

5.17
#5956F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5956F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956F4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956F4#FFFFFF#000000##FFFFFF
##5956F41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#0066F1
Tritanopia (blue-blind)
#007F9E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5956f4;
/* rgb */ color: rgb(89, 86, 244);
/* oklch */ color: oklch(55.5% 0.229 276.7);
Tailwind
colors: {
  custom: {
    50: '#9886f9',
    500: '#5956f4',
    950: '#000000',
  },
}
SCSS
$custom: #5956f4;
$custom-light: #9886f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5956f4",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 241.139,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.22881,
    "h": 276.7
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#5956F4
secondary
#EDEEB8
accent
#E401E0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5956F4

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

Preview Lab → · Contrast checker → · Palette generator →

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