#5951E7#5951E7

#5951E7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.218 H 278.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5951E7
RGBrgb(89, 81, 231)
HSLhsl(243, 76%, 61%)
HSVhsv(243, 65%, 91%)
CMYKcmyk(61.5%, 64.9%, 0%, 9.4%)
CIE-LABlab(43.91, 46.33, -74.98)
CIE-LCHlch(43.91, 88.14, 301.71°)
OKLaboklab(53.58% 0.032 -0.2161)
OKLCHoklch(53.58% 0.218 278.4)
XYZxyz(21.4814, 13.7766, 77.1129)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951E7 #DFE751
analogous
#5194E7 #5951E7 #A451E7
triadic
#5951E7 #E75951 #51E759
tetradic
#5951E7 #E75194 #DFE751 #51E7A4
square
#5951E7 #E75194 #DFE751 #51E7A4
split-complementary
#5951E7 #E7A451 #94E751
monochromatic
#1F17A7 #291EDC #5951E7 #8C87EE #C0BDF6

Accessibility & contrast

On white

5.59
#5951E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5951E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951E7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951E7#FFFFFF#000000##FFFFFF
##5951E71.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)
#006EEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5951e7;
/* rgb */ color: rgb(89, 81, 231);
/* oklch */ color: oklch(53.6% 0.218 278.4);
Tailwind
colors: {
  custom: {
    50: '#9783f0',
    500: '#5951e7',
    950: '#000000',
  },
}
SCSS
$custom: #5951e7;
$custom-light: #9783f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5951e7",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 243.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.21842,
    "h": 278.4
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#5951E7
secondary
#E3E6AE
accent
#D80ECD
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5951E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5951E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva