#5946D9#5946D9

#5946D9 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.214 H 281.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5946D9
RGBrgb(89, 70, 217)
HSLhsl(248, 66%, 56%)
HSVhsv(248, 68%, 85%)
CMYKcmyk(59%, 67.7%, 0%, 14.9%)
CIE-LABlab(40.43, 48.25, -72.70)
CIE-LCHlch(40.43, 87.25, 303.57°)
OKLaboklab(50.71% 0.0425 -0.2094)
OKLCHoklch(50.71% 0.214 281.5)
XYZxyz(18.8304, 11.5126, 66.8621)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946D9 #C6D946
analogous
#467DD9 #5946D9 #A346D9
triadic
#5946D9 #D95946 #46D959
tetradic
#5946D9 #D9467D #C6D946 #46D9A3
square
#5946D9 #D9467D #C6D946 #46D9A3
split-complementary
#5946D9 #D9A346 #7DD946
monochromatic
#2A1C89 #3A26BB #5946D9 #8779E3 #B4ACEE

Accessibility & contrast

On white

6.36
#5946D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5946D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946D9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946D9#FFFFFF#000000##FFFFFF
##5946D91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5946d9;
/* rgb */ color: rgb(89, 70, 217);
/* oklch */ color: oklch(50.7% 0.214 281.5);
Tailwind
colors: {
  custom: {
    50: '#957be6',
    500: '#5946d9',
    950: '#000000',
  },
}
SCSS
$custom: #5946d9;
$custom-light: #957be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5946d9",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 247.755,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.21365,
    "h": 281.5
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#5946D9
secondary
#D4DC9F
accent
#E93FD3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5946D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5946D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva