#5951DB#5951DB

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

Color values

HEX#5951DB
RGBrgb(89, 81, 219)
HSLhsl(243, 66%, 59%)
HSVhsv(243, 63%, 86%)
CMYKcmyk(59.4%, 63%, 0%, 14.1%)
CIE-LABlab(42.95, 42.54, -69.73)
CIE-LCHlch(42.95, 81.69, 301.39°)
OKLaboklab(52.58% 0.0331 -0.2007)
OKLCHoklch(52.58% 0.203 279.4)
XYZxyz(19.8444, 13.1217, 68.4911)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5951DB #D3DB51
analogous
#518EDB #5951DB #9E51DB
triadic
#5951DB #DB5951 #51DB59
tetradic
#5951DB #DB518E #D3DB51 #51DB9E
square
#5951DB #DB518E #D3DB51 #51DB9E
split-complementary
#5951DB #DB9E51 #8EDB51
monochromatic
#251E93 #3229C6 #5951DB #8984E5 #BAB6F0

Accessibility & contrast

On white

5.79
#5951DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5951DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5951DB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5951DB#FFFFFF#000000##FFFFFF
##5951DB1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5951db;
/* rgb */ color: rgb(89, 81, 219);
/* oklch */ color: oklch(52.6% 0.203 279.4);
Tailwind
colors: {
  custom: {
    50: '#9482e7',
    500: '#5951db',
    950: '#000000',
  },
}
SCSS
$custom: #5951db;
$custom-light: #9482e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5951db",
  "rgb": {
    "r": 89,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 243.478,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.20338,
    "h": 279.4
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#5951DB
secondary
#DCDFA9
accent
#E93FDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5951DB

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

Preview Lab → · Contrast checker → · Palette generator →

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