#5943CF#5943CF

#5943CF is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.205 H 283.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5943CF
RGBrgb(89, 67, 207)
HSLhsl(249, 59%, 54%)
HSVhsv(249, 68%, 81%)
CMYKcmyk(57%, 67.6%, 0%, 18.8%)
CIE-LABlab(38.97, 46.89, -69.33)
CIE-LCHlch(38.97, 83.70, 304.07°)
OKLaboklab(49.4% 0.0464 -0.1995)
OKLCHoklch(49.4% 0.205 283.1)
XYZxyz(17.3860, 10.6421, 60.1574)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943CF #B9CF43
analogous
#4373CF #5943CF #9F43CF
triadic
#5943CF #CF5943 #43CF59
tetradic
#5943CF #CF4373 #B9CF43 #43CF9F
square
#5943CF #CF4373 #B9CF43 #43CF9F
split-complementary
#5943CF #CF9F43 #73CF43
monochromatic
#2D1F79 #3F2BAA #5943CF #8474DB #AFA5E8

Accessibility & contrast

On white

6.71
#5943CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5943CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943CF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943CF#FFFFFF#000000##FFFFFF
##5943CF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#196784
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5943cf;
/* rgb */ color: rgb(89, 67, 207);
/* oklch */ color: oklch(49.4% 0.205 283.1);
Tailwind
colors: {
  custom: {
    50: '#9479df',
    500: '#5943cf',
    950: '#000000',
  },
}
SCSS
$custom: #5943cf;
$custom-light: #9479df;
$custom-dark: #000000;
JSON
{
  "hex": "#5943cf",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 249.429,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.494,
    "c": 0.20485,
    "h": 283.1
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#5943CF
secondary
#CBD599
accent
#E345CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5943CF

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

Preview Lab → · Contrast checker → · Palette generator →

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