#5943D9#5943D9

#5943D9 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.217 H 281.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5943D9
RGBrgb(89, 67, 217)
HSLhsl(249, 66%, 56%)
HSVhsv(249, 69%, 85%)
CMYKcmyk(59%, 69.1%, 0%, 14.9%)
CIE-LABlab(39.83, 49.90, -73.69)
CIE-LCHlch(39.83, 89.00, 304.11°)
OKLaboklab(50.28% 0.0448 -0.2123)
OKLCHoklch(50.28% 0.217 281.9)
XYZxyz(18.6475, 11.1466, 66.8011)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943D9 #C3D943
analogous
#4378D9 #5943D9 #A443D9
triadic
#5943D9 #D95943 #43D959
tetradic
#5943D9 #D94378 #C3D943 #43D9A4
square
#5943D9 #D94378 #C3D943 #43D9A4
split-complementary
#5943D9 #D9A443 #78D943
monochromatic
#2B1B86 #3B25B9 #5943D9 #8676E3 #B3A9EE

Accessibility & contrast

On white

6.50
#5943D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5943D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943D9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943D9#FFFFFF#000000##FFFFFF
##5943D91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5943d9;
/* rgb */ color: rgb(89, 67, 217);
/* oklch */ color: oklch(50.3% 0.217 281.9);
Tailwind
colors: {
  custom: {
    50: '#9579e6',
    500: '#5943d9',
    950: '#000000',
  },
}
SCSS
$custom: #5943d9;
$custom-light: #9579e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5943d9",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 248.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.21697,
    "h": 281.9
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#5943D9
secondary
#D2DB9D
accent
#E93FD0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5943D9

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

Preview Lab → · Contrast checker → · Palette generator →

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