#5943CA#5943CA

#5943CA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 49.0% C 0.199 H 283.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5943CA
RGBrgb(89, 67, 202)
HSLhsl(250, 56%, 53%)
HSVhsv(250, 67%, 79%)
CMYKcmyk(55.9%, 66.8%, 0%, 20.8%)
CIE-LABlab(38.55, 45.37, -67.12)
CIE-LCHlch(38.55, 81.02, 304.06°)
OKLaboklab(48.97% 0.0471 -0.193)
OKLCHoklch(48.97% 0.199 283.7)
XYZxyz(16.7844, 10.4014, 56.9889)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943CA #B4CA43
analogous
#4370CA #5943CA #9D43CA
triadic
#5943CA #CA5943 #43CA59
tetradic
#5943CA #CA4370 #B4CA43 #43CA9D
square
#5943CA #CA4370 #B4CA43 #43CA9D
split-complementary
#5943CA #CA9D43 #70CA43
monochromatic
#2E2072 #412EA2 #5943CA #8373D7 #ADA2E5

Accessibility & contrast

On white

6.82
#5943CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5943CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943CA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943CA#FFFFFF#000000##FFFFFF
##5943CA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#216681
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5943ca;
/* rgb */ color: rgb(89, 67, 202);
/* oklch */ color: oklch(49.0% 0.199 283.7);
Tailwind
colors: {
  custom: {
    50: '#9379db',
    500: '#5943ca',
    950: '#000000',
  },
}
SCSS
$custom: #5943ca;
$custom-light: #9379db;
$custom-dark: #000000;
JSON
{
  "hex": "#5943ca",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 249.778,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.1987,
    "h": 283.7
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#5943CA
secondary
#C8D297
accent
#DF48C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5943CA

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

Preview Lab → · Contrast checker → · Palette generator →

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