#5941D8#5941D8

#5941D8 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.218 H 282.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5941D8
RGBrgb(89, 65, 216)
HSLhsl(250, 66%, 55%)
HSVhsv(250, 70%, 85%)
CMYKcmyk(58.8%, 69.9%, 0%, 15.3%)
CIE-LABlab(39.35, 50.69, -73.91)
CIE-LCHlch(39.35, 89.62, 304.44°)
OKLaboklab(49.91% 0.0465 -0.2129)
OKLCHoklch(49.91% 0.218 282.3)
XYZxyz(18.4009, 10.8611, 66.0792)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941D8 #C0D841
analogous
#4175D8 #5941D8 #A441D8
triadic
#5941D8 #D85941 #41D859
tetradic
#5941D8 #D84175 #C0D841 #41D8A4
square
#5941D8 #D84175 #C0D841 #41D8A4
split-complementary
#5941D8 #D8A441 #75D841
monochromatic
#2C1B84 #3C25B6 #5941D8 #8574E2 #B2A7ED

Accessibility & contrast

On white

6.62
#5941D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5941D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941D8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941D8#FFFFFF#000000##FFFFFF
##5941D81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5941d8;
/* rgb */ color: rgb(89, 65, 216);
/* oklch */ color: oklch(49.9% 0.218 282.3);
Tailwind
colors: {
  custom: {
    50: '#9578e5',
    500: '#5941d8',
    950: '#000000',
  },
}
SCSS
$custom: #5941d8;
$custom-light: #9578e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5941d8",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 249.536,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.21795,
    "h": 282.3
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#5941D8
secondary
#D0DA9B
accent
#E93FCE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5941D8

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

Preview Lab → · Contrast checker → · Palette generator →

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