#5649DC#5649DC

#5649DC is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.214 H 279.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5649DC
RGBrgb(86, 73, 220)
HSLhsl(245, 68%, 57%)
HSVhsv(245, 67%, 86%)
CMYKcmyk(60.9%, 66.8%, 0%, 13.7%)
CIE-LABlab(41.07, 47.04, -73.38)
CIE-LCHlch(41.07, 87.16, 302.66°)
OKLaboklab(51.19% 0.0358 -0.2115)
OKLCHoklch(51.19% 0.214 279.6)
XYZxyz(19.1345, 11.9094, 68.9867)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649DC #CFDC49
analogous
#4986DC #5649DC #9F49DC
triadic
#5649DC #DC5649 #49DC56
tetradic
#5649DC #DC4986 #CFDC49 #49DC9F
square
#5649DC #DC4986 #CFDC49 #49DC9F
split-complementary
#5649DC #DC9F49 #86DC49
monochromatic
#261C8F #3325C2 #5649DC #867CE6 #B5B0F0

Accessibility & contrast

On white

6.21
#5649DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5649DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649DC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649DC#FFFFFF#000000##FFFFFF
##5649DC1.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)
#0066E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5649dc;
/* rgb */ color: rgb(86, 73, 220);
/* oklch */ color: oklch(51.2% 0.214 279.6);
Tailwind
colors: {
  custom: {
    50: '#947de8',
    500: '#5649dc',
    950: '#000000',
  },
}
SCSS
$custom: #5649dc;
$custom-light: #947de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5649dc",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 245.306,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.21447,
    "h": 279.6
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#5649DC
secondary
#D9DEA3
accent
#EB3DDB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5649DC

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

Preview Lab → · Contrast checker → · Palette generator →

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