#5647CB#5647CB

#5647CB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.196 H 281.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5647CB
RGBrgb(86, 71, 203)
HSLhsl(247, 56%, 54%)
HSVhsv(247, 65%, 80%)
CMYKcmyk(57.6%, 65%, 0%, 20.4%)
CIE-LABlab(39.23, 42.90, -66.60)
CIE-LCHlch(39.23, 79.22, 302.79°)
OKLaboklab(49.43% 0.0395 -0.1916)
OKLCHoklch(49.43% 0.196 281.7)
XYZxyz(16.8671, 10.7956, 57.6833)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647CB #BCCB47
analogous
#477ACB #5647CB #9847CB
triadic
#5647CB #CB5647 #47CB56
tetradic
#5647CB #CB477A #BCCB47 #47CB98
square
#5647CB #CB477A #BCCB47 #47CB98
split-complementary
#5647CB #CB9847 #7ACB47
monochromatic
#2B2176 #3C2FA6 #5647CB #8277D8 #AEA6E6

Accessibility & contrast

On white

6.65
#5647CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5647CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647CB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647CB#FFFFFF#000000##FFFFFF
##5647CB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#106883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5647cb;
/* rgb */ color: rgb(86, 71, 203);
/* oklch */ color: oklch(49.4% 0.196 281.7);
Tailwind
colors: {
  custom: {
    50: '#917bdc',
    500: '#5647cb',
    950: '#000000',
  },
}
SCSS
$custom: #5647cb;
$custom-light: #917bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5647cb",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 246.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.19561,
    "h": 281.7
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#5647CB
secondary
#CDD39B
accent
#DF49CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5647CB

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

Preview Lab → · Contrast checker → · Palette generator →

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