#5941D2#5941D2

#5941D2 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.211 H 283.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5941D2
RGBrgb(89, 65, 210)
HSLhsl(250, 62%, 54%)
HSVhsv(250, 69%, 82%)
CMYKcmyk(57.6%, 69%, 0%, 17.6%)
CIE-LABlab(38.82, 48.90, -71.31)
CIE-LCHlch(38.82, 86.46, 304.44°)
OKLaboklab(49.37% 0.0476 -0.2053)
OKLCHoklch(49.37% 0.211 283)
XYZxyz(17.6394, 10.5564, 62.0684)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941D2 #BAD241
analogous
#4172D2 #5941D2 #A241D2
triadic
#5941D2 #D25941 #41D259
tetradic
#5941D2 #D24172 #BAD241 #41D2A2
square
#5941D2 #D24172 #BAD241 #41D2A2
split-complementary
#5941D2 #D2A241 #72D241
monochromatic
#2D1D7B #3F29AD #5941D2 #8472DE #AFA4E9

Accessibility & contrast

On white

6.75
#5941D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5941D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941D2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941D2#FFFFFF#000000##FFFFFF
##5941D21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#126785
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5941d2;
/* rgb */ color: rgb(89, 65, 210);
/* oklch */ color: oklch(49.4% 0.211 283.0);
Tailwind
colors: {
  custom: {
    50: '#9478e1',
    500: '#5941d2',
    950: '#000000',
  },
}
SCSS
$custom: #5941d2;
$custom-light: #9478e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5941d2",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 249.931,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.21075,
    "h": 283
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#5941D2
secondary
#CCD698
accent
#E543CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5941D2

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

Preview Lab → · Contrast checker → · Palette generator →

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