#5944E5#5944E5

#5944E5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.5% C 0.230 H 280.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5944E5
RGBrgb(89, 68, 229)
HSLhsl(248, 76%, 58%)
HSVhsv(248, 70%, 90%)
CMYKcmyk(61.1%, 70.3%, 0%, 10.2%)
CIE-LABlab(41.08, 52.97, -78.49)
CIE-LCHlch(41.08, 94.69, 304.02°)
OKLaboklab(51.49% 0.042 -0.2263)
OKLCHoklch(51.49% 0.23 280.5)
XYZxyz(20.3253, 11.9137, 75.3421)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944E5 #D0E544
analogous
#447FE5 #5944E5 #A944E5
triadic
#5944E5 #E55944 #44E559
tetradic
#5944E5 #E5447F #D0E544 #44E5A9
square
#5944E5 #E5447F #D0E544 #44E5A9
split-complementary
#5944E5 #E5A944 #7FE544
monochromatic
#271599 #341DCF #5944E5 #897AEC #B8AFF4

Accessibility & contrast

On white

6.21
#5944E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5944E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5944E5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5944E5#FFFFFF#000000##FFFFFF
##5944E51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005BE2
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5944e5;
/* rgb */ color: rgb(89, 68, 229);
/* oklch */ color: oklch(51.5% 0.230 280.5);
Tailwind
colors: {
  custom: {
    50: '#977aee',
    500: '#5944e5',
    950: '#000000',
  },
}
SCSS
$custom: #5944e5;
$custom-light: #977aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5944e5",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 229
  },
  "hsl": {
    "h": 247.826,
    "s": 75.587,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.23019,
    "h": 280.5
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#5944E5
secondary
#DAE2A2
accent
#F236DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5944E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5944E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva