#5943EA#5943EA

#5943EA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.8% C 0.237 H 280.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5943EA
RGBrgb(89, 67, 234)
HSLhsl(248, 80%, 59%)
HSVhsv(248, 71%, 92%)
CMYKcmyk(62%, 71.4%, 0%, 8.2%)
CIE-LABlab(41.34, 55.00, -80.90)
CIE-LCHlch(41.34, 97.82, 304.21°)
OKLaboklab(51.82% 0.0417 -0.2334)
OKLCHoklch(51.82% 0.237 280.1)
XYZxyz(20.9735, 12.0771, 79.0518)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943EA #D4EA43
analogous
#4381EA #5943EA #AD43EA
triadic
#5943EA #EA5943 #43EA59
tetradic
#5943EA #EA4381 #D4EA43 #43EAAD
square
#5943EA #EA4381 #D4EA43 #43EAAD
split-complementary
#5943EA #EAAD43 #81EA43
monochromatic
#2512A1 #3118D8 #5943EA #8A7AF0 #BAB1F6

Accessibility & contrast

On white

6.15
#5943EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5943EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5943EA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943EA#FFFFFF#000000##FFFFFF
##5943EA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5943ea;
/* rgb */ color: rgb(89, 67, 234);
/* oklch */ color: oklch(51.8% 0.237 280.1);
Tailwind
colors: {
  custom: {
    50: '#987af2',
    500: '#5943ea',
    950: '#000000',
  },
}
SCSS
$custom: #5943ea;
$custom-light: #987af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5943ea",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 234
  },
  "hsl": {
    "h": 247.904,
    "s": 79.904,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.23707,
    "h": 280.1
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#5943EA
secondary
#DDE5A4
accent
#F631DC
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5943EA

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

Preview Lab → · Contrast checker → · Palette generator →

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