#5951DD#5951DD

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

Color values

HEX#5951DD
RGBrgb(89, 81, 221)
HSLhsl(243, 67%, 59%)
HSVhsv(243, 63%, 87%)
CMYKcmyk(59.7%, 63.3%, 0%, 13.3%)
CIE-LABlab(43.10, 43.18, -70.62)
CIE-LCHlch(43.10, 82.77, 301.44°)
OKLaboklab(52.75% 0.0329 -0.2033)
OKLCHoklch(52.75% 0.206 279.2)
XYZxyz(20.1092, 13.2277, 69.8861)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951DD #D5DD51
analogous
#518FDD #5951DD #9F51DD
triadic
#5951DD #DD5951 #51DD59
tetradic
#5951DD #DD518F #D5DD51 #51DD9F
square
#5951DD #DD518F #D5DD51 #51DD9F
split-complementary
#5951DD #DD9F51 #8FDD51
monochromatic
#241D96 #3127C9 #5951DD #8A84E7 #BBB7F1

Accessibility & contrast

On white

5.76
#5951DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5951DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951DD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951DD#FFFFFF#000000##FFFFFF
##5951DD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5951dd;
/* rgb */ color: rgb(89, 81, 221);
/* oklch */ color: oklch(52.7% 0.206 279.2);
Tailwind
colors: {
  custom: {
    50: '#9582e9',
    500: '#5951dd',
    950: '#000000',
  },
}
SCSS
$custom: #5951dd;
$custom-light: #9582e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5951dd",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 243.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.20591,
    "h": 279.2
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#5951DD
secondary
#DDE0AA
accent
#EA3EE0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5951DD

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

Preview Lab → · Contrast checker → · Palette generator →

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