#5649CB#5649CB

#5649CB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.193 H 281.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5649CB
RGBrgb(86, 73, 203)
HSLhsl(246, 56%, 54%)
HSVhsv(246, 64%, 80%)
CMYKcmyk(57.6%, 64%, 0%, 20.4%)
CIE-LABlab(39.67, 41.73, -65.89)
CIE-LCHlch(39.67, 77.99, 302.35°)
OKLaboklab(49.74% 0.0377 -0.1895)
OKLCHoklch(49.74% 0.193 281.3)
XYZxyz(16.9964, 11.0542, 57.7264)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649CB #BECB49
analogous
#497DCB #5649CB #9749CB
triadic
#5649CB #CB5649 #49CB56
tetradic
#5649CB #CB497D #BECB49 #49CB97
square
#5649CB #CB497D #BECB49 #49CB97
split-complementary
#5649CB #CB9749 #7DCB49
monochromatic
#2B2277 #3C30A7 #5649CB #8279D9 #AEA8E6

Accessibility & contrast

On white

6.54
#5649CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5649CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649CB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649CB#FFFFFF#000000##FFFFFF
##5649CB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#0F6A83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5649cb;
/* rgb */ color: rgb(86, 73, 203);
/* oklch */ color: oklch(49.7% 0.193 281.3);
Tailwind
colors: {
  custom: {
    50: '#917ddc',
    500: '#5649cb',
    950: '#000000',
  },
}
SCSS
$custom: #5649cb;
$custom-light: #917ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5649cb",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 246,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.1932,
    "h": 281.3
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#5649CB
secondary
#CED49C
accent
#DF49D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5649CB

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

Preview Lab → · Contrast checker → · Palette generator →

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