#5647D4#5647D4

#5647D4 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.207 H 280.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5647D4
RGBrgb(86, 71, 212)
HSLhsl(246, 62%, 55%)
HSVhsv(246, 67%, 83%)
CMYKcmyk(59.4%, 66.5%, 0%, 16.9%)
CIE-LABlab(39.98, 45.70, -70.58)
CIE-LCHlch(39.98, 84.08, 302.92°)
OKLaboklab(50.19% 0.0384 -0.2033)
OKLCHoklch(50.19% 0.207 280.7)
XYZxyz(17.9709, 11.2371, 63.4966)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647D4 #C5D447
analogous
#477ED4 #5647D4 #9C47D4
triadic
#5647D4 #D45647 #47D456
tetradic
#5647D4 #D4477E #C5D447 #47D49C
square
#5647D4 #D4477E #C5D447 #47D49C
split-complementary
#5647D4 #D49C47 #7ED447
monochromatic
#291E82 #392AB4 #5647D4 #8479E0 #B1AAEB

Accessibility & contrast

On white

6.47
#5647D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5647D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647D4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647D4#FFFFFF#000000##FFFFFF
##5647D41.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5647d4;
/* rgb */ color: rgb(86, 71, 212);
/* oklch */ color: oklch(50.2% 0.207 280.7);
Tailwind
colors: {
  custom: {
    50: '#937be2',
    500: '#5647d4',
    950: '#000000',
  },
}
SCSS
$custom: #5647d4;
$custom-light: #937be2;
$custom-dark: #000000;
JSON
{
  "hex": "#5647d4",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 246.383,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.20687,
    "h": 280.7
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#5647D4
secondary
#D3D99E
accent
#E543D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5647D4

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

Preview Lab → · Contrast checker → · Palette generator →

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