#5951DC#5951DC

#5951DC is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.205 H 279.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5951DC
RGBrgb(89, 81, 220)
HSLhsl(243, 67%, 59%)
HSVhsv(243, 63%, 86%)
CMYKcmyk(59.5%, 63.2%, 0%, 13.7%)
CIE-LABlab(43.03, 42.86, -70.18)
CIE-LCHlch(43.03, 82.23, 301.41°)
OKLaboklab(52.66% 0.033 -0.202)
OKLCHoklch(52.66% 0.205 279.3)
XYZxyz(19.9764, 13.1746, 69.1865)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951DC #D4DC51
analogous
#518FDC #5951DC #9F51DC
triadic
#5951DC #DC5951 #51DC59
tetradic
#5951DC #DC518F #D4DC51 #51DC9F
square
#5951DC #DC518F #D4DC51 #51DC9F
split-complementary
#5951DC #DC9F51 #8FDC51
monochromatic
#251E95 #3128C8 #5951DC #8A84E6 #BAB7F0

Accessibility & contrast

On white

5.78
#5951DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5951DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951DC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951DC#FFFFFF#000000##FFFFFF
##5951DC1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5951dc;
/* rgb */ color: rgb(89, 81, 220);
/* oklch */ color: oklch(52.7% 0.205 279.3);
Tailwind
colors: {
  custom: {
    50: '#9582e8',
    500: '#5951dc',
    950: '#000000',
  },
}
SCSS
$custom: #5951dc;
$custom-light: #9582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5951dc",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 243.453,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.20465,
    "h": 279.3
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#5951DC
secondary
#DDE0A9
accent
#E93EE0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5951DC

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

Preview Lab → · Contrast checker → · Palette generator →

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