#5943CC#5943CC

#5943CC is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.201 H 283.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5943CC
RGBrgb(89, 67, 204)
HSLhsl(250, 57%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(56.4%, 67.2%, 0%, 20%)
CIE-LABlab(38.72, 45.98, -68.01)
CIE-LCHlch(38.72, 82.09, 304.06°)
OKLaboklab(49.14% 0.0468 -0.1956)
OKLCHoklch(49.14% 0.201 283.5)
XYZxyz(17.0227, 10.4967, 58.2441)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943CC #B6CC43
analogous
#4371CC #5943CC #9D43CC
triadic
#5943CC #CC5943 #43CC59
tetradic
#5943CC #CC4371 #B6CC43 #43CC9D
square
#5943CC #CC4371 #B6CC43 #43CC9D
split-complementary
#5943CC #CC9D43 #71CC43
monochromatic
#2D2075 #402DA5 #5943CC #8473D9 #AEA3E6

Accessibility & contrast

On white

6.78
#5943CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5943CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943CC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943CC#FFFFFF#000000##FFFFFF
##5943CC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#1E6682
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5943cc;
/* rgb */ color: rgb(89, 67, 204);
/* oklch */ color: oklch(49.1% 0.201 283.5);
Tailwind
colors: {
  custom: {
    50: '#9379dd',
    500: '#5943cc',
    950: '#000000',
  },
}
SCSS
$custom: #5943cc;
$custom-light: #9379dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5943cc",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 249.635,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.20116,
    "h": 283.5
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#5943CC
secondary
#C9D398
accent
#E147C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5943CC

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

Preview Lab → · Contrast checker → · Palette generator →

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