#5649E4#5649E4

#5649E4 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.224 H 278.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5649E4
RGBrgb(86, 73, 228)
HSLhsl(245, 74%, 59%)
HSVhsv(245, 68%, 89%)
CMYKcmyk(62.3%, 68%, 0%, 10.6%)
CIE-LABlab(41.76, 49.53, -76.81)
CIE-LCHlch(41.76, 91.40, 302.81°)
OKLaboklab(51.89% 0.0347 -0.2215)
OKLCHoklch(51.89% 0.224 278.9)
XYZxyz(20.2194, 12.3434, 74.7008)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649E4 #D7E449
analogous
#498AE4 #5649E4 #A449E4
triadic
#5649E4 #E45649 #49E456
tetradic
#5649E4 #E4498A #D7E449 #49E4A4
square
#5649E4 #E4498A #D7E449 #49E4A4
split-complementary
#5649E4 #E4A449 #8AE449
monochromatic
#22179C #2E1FD1 #5649E4 #877EEC #B9B4F4

Accessibility & contrast

On white

6.05
#5649E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5649E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649E4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649E4#FFFFFF#000000##FFFFFF
##5649E41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5649e4;
/* rgb */ color: rgb(86, 73, 228);
/* oklch */ color: oklch(51.9% 0.224 278.9);
Tailwind
colors: {
  custom: {
    50: '#957dee',
    500: '#5649e4',
    950: '#000000',
  },
}
SCSS
$custom: #5649e4;
$custom-light: #957dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5649e4",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 245.032,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.22423,
    "h": 278.9
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#5649E4
secondary
#DEE3A6
accent
#F137E1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5649E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5649E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva