#5941DC#5941DC

#5941DC is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.223 H 281.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5941DC
RGBrgb(89, 65, 220)
HSLhsl(249, 69%, 56%)
HSVhsv(249, 70%, 86%)
CMYKcmyk(59.5%, 70.5%, 0%, 13.7%)
CIE-LABlab(39.70, 51.88, -75.62)
CIE-LCHlch(39.70, 91.71, 304.45°)
OKLaboklab(50.27% 0.0458 -0.2179)
OKLCHoklch(50.27% 0.223 281.9)
XYZxyz(18.9244, 11.0704, 68.8358)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941DC #C4DC41
analogous
#4176DC #5941DC #A641DC
triadic
#5941DC #DC5941 #41DC59
tetradic
#5941DC #DC4176 #C4DC41 #41DCA6
square
#5941DC #DC4176 #C4DC41 #41DCA6
split-complementary
#5941DC #DCA641 #76DC41
monochromatic
#2B1989 #3B23BD #5941DC #8675E6 #B3A8EF

Accessibility & contrast

On white

6.53
#5941DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5941DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941DC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941DC#FFFFFF#000000##FFFFFF
##5941DC1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5941dc;
/* rgb */ color: rgb(89, 65, 220);
/* oklch */ color: oklch(50.3% 0.223 281.9);
Tailwind
colors: {
  custom: {
    50: '#9678e8',
    500: '#5941dc',
    950: '#000000',
  },
}
SCSS
$custom: #5941dc;
$custom-light: #9678e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5941dc",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 249.29,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.22269,
    "h": 281.9
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

primary
#5941DC
secondary
#D3DD9C
accent
#EC3CD1
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5941DC

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

Preview Lab → · Contrast checker → · Palette generator →

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