#5943C8#5943C8

#5943C8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.8% C 0.196 H 284.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5943C8
RGBrgb(89, 67, 200)
HSLhsl(250, 55%, 52%)
HSVhsv(250, 67%, 78%)
CMYKcmyk(55.5%, 66.5%, 0%, 21.6%)
CIE-LABlab(38.39, 44.77, -66.23)
CIE-LCHlch(38.39, 79.94, 304.06°)
OKLaboklab(48.8% 0.0474 -0.1904)
OKLCHoklch(48.8% 0.196 284)
XYZxyz(16.5491, 10.3073, 55.7499)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943C8 #B2C843
analogous
#436FC8 #5943C8 #9C43C8
triadic
#5943C8 #C85943 #43C859
tetradic
#5943C8 #C8436F #B2C843 #43C89C
square
#5943C8 #C8436F #B2C843 #43C89C
split-complementary
#5943C8 #C89C43 #6FC843
monochromatic
#2E2170 #412F9F #5943C8 #8372D6 #ADA2E4

Accessibility & contrast

On white

6.86
#5943C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5943C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943C8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943C8#FFFFFF#000000##FFFFFF
##5943C81.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#246580
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5943c8;
/* rgb */ color: rgb(89, 67, 200);
/* oklch */ color: oklch(48.8% 0.196 284.0);
Tailwind
colors: {
  custom: {
    50: '#9279da',
    500: '#5943c8',
    950: '#000000',
  },
}
SCSS
$custom: #5943c8;
$custom-light: #9279da;
$custom-dark: #000000;
JSON
{
  "hex": "#5943c8",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 249.925,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.19622,
    "h": 284
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#5943C8
secondary
#C7D096
accent
#DE4AC6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5943C8

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

Preview Lab → · Contrast checker → · Palette generator →

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