#5951DA#5951DA

#5951DA is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.202 H 279.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5951DA
RGBrgb(89, 81, 218)
HSLhsl(244, 65%, 59%)
HSVhsv(244, 63%, 85%)
CMYKcmyk(59.2%, 62.8%, 0%, 14.5%)
CIE-LABlab(42.87, 42.23, -69.29)
CIE-LCHlch(42.87, 81.14, 301.36°)
OKLaboklab(52.5% 0.0332 -0.1994)
OKLCHoklch(52.5% 0.202 279.4)
XYZxyz(19.7131, 13.0692, 67.7999)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951DA #D2DA51
analogous
#518DDA #5951DA #9D51DA
triadic
#5951DA #DA5951 #51DA59
tetradic
#5951DA #DA518D #D2DA51 #51DA9D
square
#5951DA #DA518D #D2DA51 #51DA9D
split-complementary
#5951DA #DA9D51 #8DDA51
monochromatic
#261F92 #332AC4 #5951DA #8983E5 #B9B6EF

Accessibility & contrast

On white

5.81
#5951DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5951DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951DA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951DA#FFFFFF#000000##FFFFFF
##5951DA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5951da;
/* rgb */ color: rgb(89, 81, 218);
/* oklch */ color: oklch(52.5% 0.202 279.4);
Tailwind
colors: {
  custom: {
    50: '#9482e6',
    500: '#5951da',
    950: '#000000',
  },
}
SCSS
$custom: #5951da;
$custom-light: #9482e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5951da",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 243.504,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.20211,
    "h": 279.4
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#5951DA
secondary
#DBDEA8
accent
#E840DE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5951DA

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

Preview Lab → · Contrast checker → · Palette generator →

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