#5946D6#5946D6

#5946D6 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.210 H 281.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5946D6
RGBrgb(89, 70, 214)
HSLhsl(248, 64%, 56%)
HSVhsv(248, 67%, 84%)
CMYKcmyk(58.4%, 67.3%, 0%, 16.1%)
CIE-LABlab(40.18, 47.33, -71.39)
CIE-LCHlch(40.18, 85.66, 303.54°)
OKLaboklab(50.45% 0.0429 -0.2056)
OKLCHoklch(50.45% 0.21 281.8)
XYZxyz(18.4438, 11.3580, 64.8257)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946D6 #C3D646
analogous
#467BD6 #5946D6 #A146D6
triadic
#5946D6 #D65946 #46D659
tetradic
#5946D6 #D6467B #C3D646 #46D6A1
square
#5946D6 #D6467B #C3D646 #46D6A1
split-complementary
#5946D6 #D6A146 #7BD646
monochromatic
#2B1D84 #3B28B6 #5946D6 #8678E1 #B3AAEC

Accessibility & contrast

On white

6.42
#5946D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5946D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946D6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946D6#FFFFFF#000000##FFFFFF
##5946D61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#026B88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5946d6;
/* rgb */ color: rgb(89, 70, 214);
/* oklch */ color: oklch(50.4% 0.210 281.8);
Tailwind
colors: {
  custom: {
    50: '#947be4',
    500: '#5946d6',
    950: '#000000',
  },
}
SCSS
$custom: #5946d6;
$custom-light: #947be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5946d6",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 247.917,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.21,
    "h": 281.8
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#5946D6
secondary
#D2DA9E
accent
#E741D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5946D6

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

Preview Lab → · Contrast checker → · Palette generator →

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