#5944E7#5944E7

#5944E7 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.7% C 0.233 H 280.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5944E7
RGBrgb(89, 68, 231)
HSLhsl(248, 77%, 59%)
HSVhsv(248, 71%, 91%)
CMYKcmyk(61.5%, 70.6%, 0%, 9.4%)
CIE-LABlab(41.26, 53.57, -79.33)
CIE-LCHlch(41.26, 95.72, 304.03°)
OKLaboklab(51.68% 0.0416 -0.2288)
OKLCHoklch(51.68% 0.233 280.3)
XYZxyz(20.6062, 12.0261, 76.8212)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944E7 #D2E744
analogous
#4480E7 #5944E7 #AA44E7
triadic
#5944E7 #E75944 #44E759
tetradic
#5944E7 #E74480 #D2E744 #44E7AA
square
#5944E7 #E74480 #D2E744 #44E7AA
split-complementary
#5944E7 #E7AA44 #80E744
monochromatic
#26149D #331BD3 #5944E7 #897AEE #B9B0F5

Accessibility & contrast

On white

6.17
#5944E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5944E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5944E7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5944E7#FFFFFF#000000##FFFFFF
##5944E71.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EC
Deuteranopia (green-blind)
#005BE4
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5944e7;
/* rgb */ color: rgb(89, 68, 231);
/* oklch */ color: oklch(51.7% 0.233 280.3);
Tailwind
colors: {
  custom: {
    50: '#977af0',
    500: '#5944e7',
    950: '#000000',
  },
}
SCSS
$custom: #5944e7;
$custom-light: #977af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5944e7",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 231
  },
  "hsl": {
    "h": 247.73,
    "s": 77.251,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.23256,
    "h": 280.3
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#5944E7
secondary
#DBE4A3
accent
#F434DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5944E7

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

Preview Lab → · Contrast checker → · Palette generator →

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