#5943DD#5943DD

#5943DD is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.222 H 281.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5943DD
RGBrgb(89, 67, 221)
HSLhsl(249, 69%, 56%)
HSVhsv(249, 70%, 87%)
CMYKcmyk(59.7%, 69.7%, 0%, 13.3%)
CIE-LABlab(40.18, 51.11, -75.41)
CIE-LCHlch(40.18, 91.09, 304.13°)
OKLaboklab(50.63% 0.0441 -0.2173)
OKLCHoklch(50.63% 0.222 281.5)
XYZxyz(19.1740, 11.3573, 69.5744)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943DD #C7DD43
analogous
#437ADD #5943DD #A643DD
triadic
#5943DD #DD5943 #43DD59
tetradic
#5943DD #DD437A #C7DD43 #43DDA6
square
#5943DD #DD437A #C7DD43 #43DDA6
split-complementary
#5943DD #DDA643 #7ADD43
monochromatic
#2A198C #3923C0 #5943DD #8777E6 #B5ABF0

Accessibility & contrast

On white

6.42
#5943DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5943DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943DD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943DD#FFFFFF#000000##FFFFFF
##5943DD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#0059DA
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5943dd;
/* rgb */ color: rgb(89, 67, 221);
/* oklch */ color: oklch(50.6% 0.222 281.5);
Tailwind
colors: {
  custom: {
    50: '#9679e9',
    500: '#5943dd',
    950: '#000000',
  },
}
SCSS
$custom: #5943dd;
$custom-light: #9679e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5943dd",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 221
  },
  "hsl": {
    "h": 248.571,
    "s": 69.369,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.22176,
    "h": 281.5
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#5943DD
secondary
#D4DE9E
accent
#EC3CD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5943DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5943DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva