#5956E3#5956E3

#5956E3 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.208 H 277.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5956E3
RGBrgb(89, 86, 227)
HSLhsl(241, 72%, 61%)
HSVhsv(241, 62%, 89%)
CMYKcmyk(60.8%, 62.1%, 0%, 11%)
CIE-LABlab(44.69, 42.13, -71.43)
CIE-LCHlch(44.69, 82.93, 300.53°)
OKLaboklab(54.06% 0.0283 -0.2056)
OKLCHoklch(54.06% 0.208 277.8)
XYZxyz(21.3083, 14.3238, 74.3001)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956E3 #E0E356
analogous
#569AE3 #5956E3 #A056E3
triadic
#5956E3 #E35956 #56E359
tetradic
#5956E3 #E3569A #E0E356 #56E3A0
square
#5956E3 #E3569A #E0E356 #56E3A0
split-complementary
#5956E3 #E3A056 #9AE356
monochromatic
#1E1BA4 #2824D8 #5956E3 #8D8BEC #C0BFF4

Accessibility & contrast

On white

5.43
#5956E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5956E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956E3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956E3#FFFFFF#000000##FFFFFF
##5956E31.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)
#0070E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5956e3;
/* rgb */ color: rgb(89, 86, 227);
/* oklch */ color: oklch(54.1% 0.208 277.8);
Tailwind
colors: {
  custom: {
    50: '#9586ed',
    500: '#5956e3',
    950: '#000000',
  },
}
SCSS
$custom: #5956e3;
$custom-light: #9586ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5956e3",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 241.277,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.20757,
    "h": 277.8
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#5956E3
secondary
#E4E5B0
accent
#D412CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5956E3

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

Preview Lab → · Contrast checker → · Palette generator →

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