#5649C2#5649C2

#5649C2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.0% C 0.182 H 282.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5649C2
RGBrgb(86, 73, 194)
HSLhsl(246, 50%, 52%)
HSVhsv(246, 62%, 76%)
CMYKcmyk(55.7%, 62.4%, 0%, 23.9%)
CIE-LABlab(38.96, 38.91, -61.81)
CIE-LCHlch(38.96, 73.03, 302.19°)
OKLaboklab(49.01% 0.0385 -0.1775)
OKLCHoklch(49.01% 0.182 282.2)
XYZxyz(15.9549, 10.6376, 52.2410)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5649C2 #B5C249
analogous
#4979C2 #5649C2 #9249C2
triadic
#5649C2 #C25649 #49C256
tetradic
#5649C2 #C24979 #B5C249 #49C292
square
#5649C2 #C24979 #B5C249 #49C292
split-complementary
#5649C2 #C29249 #79C249
monochromatic
#2C246C #3F349A #5649C2 #8177D1 #ABA5E1

Accessibility & contrast

On white

6.71
#5649C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5649C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5649C2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5649C2#FFFFFF#000000##FFFFFF
##5649C21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#21677F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5649c2;
/* rgb */ color: rgb(86, 73, 194);
/* oklch */ color: oklch(49.0% 0.182 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f7cd5',
    500: '#5649c2',
    950: '#000000',
  },
}
SCSS
$custom: #5649c2;
$custom-light: #8f7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5649c2",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 246.446,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.18162,
    "h": 282.2
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#5649C2
secondary
#C8CE99
accent
#D94ECA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5649C2

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

Preview Lab → · Contrast checker → · Palette generator →

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