#5649E5#5649E5

#5649E5 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.225 H 278.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5649E5
RGBrgb(86, 73, 229)
HSLhsl(245, 75%, 59%)
HSVhsv(245, 68%, 90%)
CMYKcmyk(62.4%, 68.1%, 0%, 10.2%)
CIE-LABlab(41.84, 49.84, -77.24)
CIE-LCHlch(41.84, 91.92, 302.83°)
OKLaboklab(51.98% 0.0346 -0.2228)
OKLCHoklch(51.98% 0.225 278.8)
XYZxyz(20.3586, 12.3991, 75.4340)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649E5 #D8E549
analogous
#498AE5 #5649E5 #A449E5
triadic
#5649E5 #E55649 #49E556
tetradic
#5649E5 #E5498A #D8E549 #49E5A4
square
#5649E5 #E5498A #D8E549 #49E5A4
split-complementary
#5649E5 #E5A449 #8AE549
monochromatic
#22169D #2D1ED3 #5649E5 #887FED #B9B4F4

Accessibility & contrast

On white

6.03
#5649E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5649E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649E5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649E5#FFFFFF#000000##FFFFFF
##5649E51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#005CE2
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5649e5;
/* rgb */ color: rgb(86, 73, 229);
/* oklch */ color: oklch(52.0% 0.225 278.8);
Tailwind
colors: {
  custom: {
    50: '#957dee',
    500: '#5649e5',
    950: '#000000',
  },
}
SCSS
$custom: #5649e5;
$custom-light: #957dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5649e5",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 245,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.22544,
    "h": 278.8
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5649E5

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

Preview Lab → · Contrast checker → · Palette generator →

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