#5941D9#5941D9

#5941D9 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.0% C 0.219 H 282.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5941D9
RGBrgb(89, 65, 217)
HSLhsl(249, 67%, 55%)
HSVhsv(249, 70%, 85%)
CMYKcmyk(59%, 70%, 0%, 14.9%)
CIE-LABlab(39.43, 50.99, -74.34)
CIE-LCHlch(39.43, 90.14, 304.45°)
OKLaboklab(50% 0.0464 -0.2142)
OKLCHoklch(50% 0.219 282.2)
XYZxyz(18.5306, 10.9129, 66.7621)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941D9 #C1D941
analogous
#4175D9 #5941D9 #A541D9
triadic
#5941D9 #D95941 #41D959
tetradic
#5941D9 #D94175 #C1D941 #41D9A5
square
#5941D9 #D94175 #C1D941 #41D9A5
split-complementary
#5941D9 #D9A541 #75D941
monochromatic
#2B1B85 #3C25B8 #5941D9 #8674E3 #B2A7ED

Accessibility & contrast

On white

6.60
#5941D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5941D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941D9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941D9#FFFFFF#000000##FFFFFF
##5941D91.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5941d9;
/* rgb */ color: rgb(89, 65, 217);
/* oklch */ color: oklch(50.0% 0.219 282.2);
Tailwind
colors: {
  custom: {
    50: '#9578e6',
    500: '#5941d9',
    950: '#000000',
  },
}
SCSS
$custom: #5941d9;
$custom-light: #9578e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5941d9",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 249.474,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.21913,
    "h": 282.2
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#5941D9
secondary
#D1DB9B
accent
#EA3ECF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5941D9

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

Preview Lab → · Contrast checker → · Palette generator →

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