#5943D2#5943D2

#5943D2 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.7% C 0.209 H 282.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5943D2
RGBrgb(89, 67, 210)
HSLhsl(249, 61%, 54%)
HSVhsv(249, 68%, 82%)
CMYKcmyk(57.6%, 68.1%, 0%, 17.6%)
CIE-LABlab(39.22, 47.79, -70.65)
CIE-LCHlch(39.22, 85.30, 304.08°)
OKLaboklab(49.66% 0.046 -0.2034)
OKLCHoklch(49.66% 0.209 282.7)
XYZxyz(17.7562, 10.7901, 62.1073)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943D2 #BCD243
analogous
#4375D2 #5943D2 #A143D2
triadic
#5943D2 #D25943 #43D259
tetradic
#5943D2 #D24375 #BCD243 #43D2A1
square
#5943D2 #D24375 #BCD243 #43D2A1
split-complementary
#5943D2 #D2A143 #75D243
monochromatic
#2C1E7D #3E2AAE #5943D2 #8574DE #B0A6EA

Accessibility & contrast

On white

6.65
#5943D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5943D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943D2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943D2#FFFFFF#000000##FFFFFF
##5943D21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#126885
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5943d2;
/* rgb */ color: rgb(89, 67, 210);
/* oklch */ color: oklch(49.7% 0.209 282.7);
Tailwind
colors: {
  custom: {
    50: '#9479e1',
    500: '#5943d2',
    950: '#000000',
  },
}
SCSS
$custom: #5943d2;
$custom-light: #9479e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5943d2",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 249.231,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.20851,
    "h": 282.7
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#5943D2
secondary
#CDD79A
accent
#E443CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5943D2

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

Preview Lab → · Contrast checker → · Palette generator →

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