#5946DF#5946DF

#5946DF is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.221 H 280.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5946DF
RGBrgb(89, 70, 223)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(60.1%, 68.6%, 0%, 12.5%)
CIE-LABlab(40.95, 50.07, -75.29)
CIE-LCHlch(40.95, 90.42, 303.63°)
OKLaboklab(51.24% 0.0415 -0.217)
OKLCHoklch(51.24% 0.221 280.8)
XYZxyz(19.6251, 11.8305, 71.0471)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946DF #CCDF46
analogous
#467FDF #5946DF #A646DF
triadic
#5946DF #DF5946 #46DF59
tetradic
#5946DF #DF467F #CCDF46 #46DFA6
square
#5946DF #DF467F #CCDF46 #46DFA6
split-complementary
#5946DF #DFA646 #7FDF46
monochromatic
#281991 #3622C6 #5946DF #887AE8 #B7AEF1

Accessibility & contrast

On white

6.24
#5946DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5946DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946DF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946DF#FFFFFF#000000##FFFFFF
##5946DF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5946df;
/* rgb */ color: rgb(89, 70, 223);
/* oklch */ color: oklch(51.2% 0.221 280.8);
Tailwind
colors: {
  custom: {
    50: '#967bea',
    500: '#5946df',
    950: '#000000',
  },
}
SCSS
$custom: #5946df;
$custom-light: #967bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5946df",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 247.451,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51237,
    "c": 0.22092,
    "h": 280.8
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#5946DF
secondary
#D8DFA2
accent
#ED3BD7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5946DF

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

Preview Lab → · Contrast checker → · Palette generator →

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