#5951DE#5951DE

#5951DE is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.207 H 279.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5951DE
RGBrgb(89, 81, 222)
HSLhsl(243, 68%, 59%)
HSVhsv(243, 64%, 87%)
CMYKcmyk(59.9%, 63.5%, 0%, 12.9%)
CIE-LABlab(43.18, 43.49, -71.06)
CIE-LCHlch(43.18, 83.31, 301.47°)
OKLaboklab(52.83% 0.0328 -0.2045)
OKLCHoklch(52.83% 0.207 279.1)
XYZxyz(20.2429, 13.2811, 70.5899)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951DE #D6DE51
analogous
#5190DE #5951DE #9F51DE
triadic
#5951DE #DE5951 #51DE59
tetradic
#5951DE #DE5190 #D6DE51 #51DE9F
square
#5951DE #DE5190 #D6DE51 #51DE9F
split-complementary
#5951DE #DE9F51 #90DE51
monochromatic
#241D98 #3027CB #5951DE #8A84E8 #BBB8F2

Accessibility & contrast

On white

5.74
#5951DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5951DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951DE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951DE#FFFFFF#000000##FFFFFF
##5951DE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5951de;
/* rgb */ color: rgb(89, 81, 222);
/* oklch */ color: oklch(52.8% 0.207 279.1);
Tailwind
colors: {
  custom: {
    50: '#9582e9',
    500: '#5951de',
    950: '#000000',
  },
}
SCSS
$custom: #5951de;
$custom-light: #9582e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5951de",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 243.404,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5283,
    "c": 0.20717,
    "h": 279.1
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#5951DE
secondary
#DEE1AA
accent
#EB3DE1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5951DE

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

Preview Lab → · Contrast checker → · Palette generator →

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