#5946DC#5946DC

#5946DC is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.217 H 281.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5946DC
RGBrgb(89, 70, 220)
HSLhsl(248, 68%, 57%)
HSVhsv(248, 68%, 86%)
CMYKcmyk(59.5%, 68.2%, 0%, 13.7%)
CIE-LABlab(40.69, 49.16, -74.00)
CIE-LCHlch(40.69, 88.84, 303.60°)
OKLaboklab(50.97% 0.042 -0.2132)
OKLCHoklch(50.97% 0.217 281.1)
XYZxyz(19.2242, 11.6701, 68.9358)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946DC #C9DC46
analogous
#467EDC #5946DC #A446DC
triadic
#5946DC #DC5946 #46DC59
tetradic
#5946DC #DC467E #C9DC46 #46DCA4
square
#5946DC #DC467E #C9DC46 #46DCA4
split-complementary
#5946DC #DCA446 #7EDC46
monochromatic
#291B8D #3824C0 #5946DC #8779E6 #B5ADEF

Accessibility & contrast

On white

6.30
#5946DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5946DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946DC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946DC#FFFFFF#000000##FFFFFF
##5946DC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5946dc;
/* rgb */ color: rgb(89, 70, 220);
/* oklch */ color: oklch(51.0% 0.217 281.1);
Tailwind
colors: {
  custom: {
    50: '#957be8',
    500: '#5946dc',
    950: '#000000',
  },
}
SCSS
$custom: #5946dc;
$custom-light: #957be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5946dc",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 247.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.2173,
    "h": 281.1
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#5946DC
secondary
#D6DDA0
accent
#EB3DD5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5946DC

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

Preview Lab → · Contrast checker → · Palette generator →

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