#5943D7#5943D7

#5943D7 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.215 H 282.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5943D7
RGBrgb(89, 67, 215)
HSLhsl(249, 65%, 55%)
HSVhsv(249, 69%, 84%)
CMYKcmyk(58.6%, 68.8%, 0%, 15.7%)
CIE-LABlab(39.65, 49.30, -72.83)
CIE-LCHlch(39.65, 87.95, 304.10°)
OKLaboklab(50.1% 0.0452 -0.2098)
OKLCHoklch(50.1% 0.215 282.1)
XYZxyz(18.3889, 11.0432, 65.4393)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943D7 #C1D743
analogous
#4377D7 #5943D7 #A343D7
triadic
#5943D7 #D75943 #43D759
tetradic
#5943D7 #D74377 #C1D743 #43D7A3
square
#5943D7 #D74377 #C1D743 #43D7A3
split-complementary
#5943D7 #D7A343 #77D743
monochromatic
#2B1C84 #3C27B6 #5943D7 #8675E2 #B2A8EC

Accessibility & contrast

On white

6.54
#5943D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5943D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943D7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943D7#FFFFFF#000000##FFFFFF
##5943D71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5943d7;
/* rgb */ color: rgb(89, 67, 215);
/* oklch */ color: oklch(50.1% 0.215 282.1);
Tailwind
colors: {
  custom: {
    50: '#9579e4',
    500: '#5943d7',
    950: '#000000',
  },
}
SCSS
$custom: #5943d7;
$custom-light: #9579e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5943d7",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 248.919,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.21457,
    "h": 282.1
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#5943D7
secondary
#D1DA9C
accent
#E840CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5943D7

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

Preview Lab → · Contrast checker → · Palette generator →

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