#5941E1#5941E1

#5941E1 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.7% C 0.229 H 281.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5941E1
RGBrgb(89, 65, 225)
HSLhsl(249, 73%, 57%)
HSVhsv(249, 71%, 88%)
CMYKcmyk(60.4%, 71.1%, 0%, 11.8%)
CIE-LABlab(40.15, 53.37, -77.74)
CIE-LCHlch(40.15, 94.30, 304.47°)
OKLaboklab(50.72% 0.0449 -0.2241)
OKLCHoklch(50.72% 0.229 281.3)
XYZxyz(19.5965, 11.3393, 72.3756)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941E1 #C9E141
analogous
#4179E1 #5941E1 #A941E1
triadic
#5941E1 #E15941 #41E159
tetradic
#5941E1 #E14179 #C9E141 #41E1A9
square
#5941E1 #E14179 #C9E141 #41E1A9
split-complementary
#5941E1 #E1A941 #79E141
monochromatic
#291791 #381FC6 #5941E1 #8776E9 #B5ABF2

Accessibility & contrast

On white

6.43
#5941E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5941E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941E1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941E1#FFFFFF#000000##FFFFFF
##5941E11.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E6
Deuteranopia (green-blind)
#0059DE
Tritanopia (blue-blind)
#006D8D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5941e1;
/* rgb */ color: rgb(89, 65, 225);
/* oklch */ color: oklch(50.7% 0.229 281.3);
Tailwind
colors: {
  custom: {
    50: '#9778ec',
    500: '#5941e1',
    950: '#000000',
  },
}
SCSS
$custom: #5941e1;
$custom-light: #9778ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5941e1",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 225
  },
  "hsl": {
    "h": 249,
    "s": 72.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.22858,
    "h": 281.3
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#5941E1
secondary
#D6E09E
accent
#EF38D4
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5941E1

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

Preview Lab → · Contrast checker → · Palette generator →

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