#5943D8#5943D8

#5943D8 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.2% C 0.216 H 282.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5943D8
RGBrgb(89, 67, 216)
HSLhsl(249, 66%, 55%)
HSVhsv(249, 69%, 85%)
CMYKcmyk(58.8%, 69%, 0%, 15.3%)
CIE-LABlab(39.74, 49.60, -73.26)
CIE-LCHlch(39.74, 88.47, 304.10°)
OKLaboklab(50.19% 0.045 -0.211)
OKLCHoklch(50.19% 0.216 282)
XYZxyz(18.5178, 11.0948, 66.1181)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943D8 #C2D843
analogous
#4377D8 #5943D8 #A343D8
triadic
#5943D8 #D85943 #43D859
tetradic
#5943D8 #D84377 #C2D843 #43D8A3
square
#5943D8 #D84377 #C2D843 #43D8A3
split-complementary
#5943D8 #D8A343 #77D843
monochromatic
#2B1C85 #3C26B8 #5943D8 #8676E3 #B3A8ED

Accessibility & contrast

On white

6.52
#5943D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5943D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943D8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943D8#FFFFFF#000000##FFFFFF
##5943D81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5943d8;
/* rgb */ color: rgb(89, 67, 216);
/* oklch */ color: oklch(50.2% 0.216 282.0);
Tailwind
colors: {
  custom: {
    50: '#9579e5',
    500: '#5943d8',
    950: '#000000',
  },
}
SCSS
$custom: #5943d8;
$custom-light: #9579e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5943d8",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 248.859,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.21577,
    "h": 282
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5943D8

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

Preview Lab → · Contrast checker → · Palette generator →

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