#5941DB#5941DB

#5941DB is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.2% C 0.222 H 282.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5941DB
RGBrgb(89, 65, 219)
HSLhsl(249, 68%, 56%)
HSVhsv(249, 70%, 86%)
CMYKcmyk(59.4%, 70.3%, 0%, 14.1%)
CIE-LABlab(39.61, 51.59, -75.19)
CIE-LCHlch(39.61, 91.19, 304.45°)
OKLaboklab(50.18% 0.046 -0.2167)
OKLCHoklch(50.18% 0.222 282)
XYZxyz(18.7923, 11.0176, 68.1404)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941DB #C3DB41
analogous
#4176DB #5941DB #A641DB
triadic
#5941DB #DB5941 #41DB59
tetradic
#5941DB #DB4176 #C3DB41 #41DBA6
square
#5941DB #DB4176 #C3DB41 #41DBA6
split-complementary
#5941DB #DBA641 #76DB41
monochromatic
#2B1A88 #3B23BB #5941DB #8674E5 #B3A8EE

Accessibility & contrast

On white

6.55
#5941DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5941DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5941DB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941DB#FFFFFF#000000##FFFFFF
##5941DB1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5941db;
/* rgb */ color: rgb(89, 65, 219);
/* oklch */ color: oklch(50.2% 0.222 282.0);
Tailwind
colors: {
  custom: {
    50: '#9678e7',
    500: '#5941db',
    950: '#000000',
  },
}
SCSS
$custom: #5941db;
$custom-light: #9678e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5941db",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 249.351,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.22151,
    "h": 282
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#5941DB
secondary
#D2DC9C
accent
#EB3DD0
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5941DB

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

Preview Lab → · Contrast checker → · Palette generator →

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