#5649CC#5649CC

#5649CC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.8% C 0.194 H 281.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5649CC
RGBrgb(86, 73, 204)
HSLhsl(246, 56%, 54%)
HSVhsv(246, 64%, 80%)
CMYKcmyk(57.8%, 64.2%, 0%, 20%)
CIE-LABlab(39.75, 42.04, -66.33)
CIE-LCHlch(39.75, 78.53, 302.37°)
OKLaboklab(49.83% 0.0376 -0.1908)
OKLCHoklch(49.83% 0.194 281.2)
XYZxyz(17.1160, 11.1020, 58.3560)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649CC #BFCC49
analogous
#497ECC #5649CC #9849CC
triadic
#5649CC #CC5649 #49CC56
tetradic
#5649CC #CC497E #BFCC49 #49CC98
square
#5649CC #CC497E #BFCC49 #49CC98
split-complementary
#5649CC #CC9849 #7ECC49
monochromatic
#2A2279 #3B2FA9 #5649CC #8279D9 #AFA9E7

Accessibility & contrast

On white

6.52
#5649CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5649CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649CC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649CC#FFFFFF#000000##FFFFFF
##5649CC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#0C6A84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5649cc;
/* rgb */ color: rgb(86, 73, 204);
/* oklch */ color: oklch(49.8% 0.194 281.2);
Tailwind
colors: {
  custom: {
    50: '#917ddd',
    500: '#5649cc',
    950: '#000000',
  },
}
SCSS
$custom: #5649cc;
$custom-light: #917ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5649cc",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 245.954,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.19448,
    "h": 281.2
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#5649CC
secondary
#CFD49D
accent
#E048D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5649CC

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

Preview Lab → · Contrast checker → · Palette generator →

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