#5943DC#5943DC

#5943DC is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.221 H 281.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5943DC
RGBrgb(89, 67, 220)
HSLhsl(249, 69%, 56%)
HSVhsv(249, 70%, 86%)
CMYKcmyk(59.5%, 69.5%, 0%, 13.7%)
CIE-LABlab(40.09, 50.81, -74.98)
CIE-LCHlch(40.09, 90.57, 304.12°)
OKLaboklab(50.54% 0.0443 -0.2161)
OKLCHoklch(50.54% 0.221 281.6)
XYZxyz(19.0412, 11.3041, 68.8748)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943DC #C6DC43
analogous
#437ADC #5943DC #A543DC
triadic
#5943DC #DC5943 #43DC59
tetradic
#5943DC #DC437A #C6DC43 #43DCA5
square
#5943DC #DC437A #C6DC43 #43DCA5
split-complementary
#5943DC #DCA543 #7ADC43
monochromatic
#2A1A8B #3A23BE #5943DC #8777E6 #B4AAEF

Accessibility & contrast

On white

6.44
#5943DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5943DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943DC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943DC#FFFFFF#000000##FFFFFF
##5943DC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5943dc;
/* rgb */ color: rgb(89, 67, 220);
/* oklch */ color: oklch(50.5% 0.221 281.6);
Tailwind
colors: {
  custom: {
    50: '#9679e8',
    500: '#5943dc',
    950: '#000000',
  },
}
SCSS
$custom: #5943dc;
$custom-light: #9679e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5943dc",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 248.627,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.22057,
    "h": 281.6
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#5943DC
secondary
#D4DD9E
accent
#EB3CD2
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5943DC

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

Preview Lab → · Contrast checker → · Palette generator →

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