#5941DE#5941DE

#5941DE is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.225 H 281.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5941DE
RGBrgb(89, 65, 222)
HSLhsl(249, 70%, 56%)
HSVhsv(249, 71%, 87%)
CMYKcmyk(59.9%, 70.7%, 0%, 12.9%)
CIE-LABlab(39.88, 52.48, -76.47)
CIE-LCHlch(39.88, 92.75, 304.46°)
OKLaboklab(50.45% 0.0454 -0.2204)
OKLCHoklch(50.45% 0.225 281.6)
XYZxyz(19.1908, 11.1770, 70.2392)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941DE #C6DE41
analogous
#4178DE #5941DE #A841DE
triadic
#5941DE #DE5941 #41DE59
tetradic
#5941DE #DE4178 #C6DE41 #41DEA8
square
#5941DE #DE4178 #C6DE41 #41DEA8
split-complementary
#5941DE #DEA841 #78DE41
monochromatic
#2A188C #3A21C0 #5941DE #8775E7 #B4A9F0

Accessibility & contrast

On white

6.49
#5941DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5941DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941DE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941DE#FFFFFF#000000##FFFFFF
##5941DE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0058DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5941de;
/* rgb */ color: rgb(89, 65, 222);
/* oklch */ color: oklch(50.4% 0.225 281.6);
Tailwind
colors: {
  custom: {
    50: '#9678ea',
    500: '#5941de',
    950: '#000000',
  },
}
SCSS
$custom: #5941de;
$custom-light: #9678ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5941de",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 249.172,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50447,
    "c": 0.22505,
    "h": 281.6
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#5941DE
secondary
#D4DE9D
accent
#ED3BD2
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5941DE

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

Preview Lab → · Contrast checker → · Palette generator →

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