#5951DF#5951DF

#5951DF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.208 H 279.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5951DF
RGBrgb(89, 81, 223)
HSLhsl(243, 69%, 60%)
HSVhsv(243, 64%, 87%)
CMYKcmyk(60.1%, 63.7%, 0%, 12.5%)
CIE-LABlab(43.26, 43.81, -71.50)
CIE-LCHlch(43.26, 83.85, 301.50°)
OKLaboklab(52.91% 0.0328 -0.2058)
OKLCHoklch(52.91% 0.208 279)
XYZxyz(20.3773, 13.3349, 71.2978)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951DF #D7DF51
analogous
#5190DF #5951DF #A051DF
triadic
#5951DF #DF5951 #51DF59
tetradic
#5951DF #DF5190 #D7DF51 #51DFA0
square
#5951DF #DF5190 #D7DF51 #51DFA0
split-complementary
#5951DF #DFA051 #90DF51
monochromatic
#231C99 #2F26CD #5951DF #8A85E9 #BCB8F2

Accessibility & contrast

On white

5.73
#5951DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5951DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951DF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951DF#FFFFFF#000000##FFFFFF
##5951DF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5951df;
/* rgb */ color: rgb(89, 81, 223);
/* oklch */ color: oklch(52.9% 0.208 279.0);
Tailwind
colors: {
  custom: {
    50: '#9582ea',
    500: '#5951df',
    950: '#000000',
  },
}
SCSS
$custom: #5951df;
$custom-light: #9582ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5951df",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 243.38,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.20843,
    "h": 279
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5951DF

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

Preview Lab → · Contrast checker → · Palette generator →

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