#5647E2#5647E2

#5647E2 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.224 H 279.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5647E2
RGBrgb(86, 71, 226)
HSLhsl(246, 73%, 58%)
HSVhsv(246, 69%, 89%)
CMYKcmyk(61.9%, 68.6%, 0%, 11.4%)
CIE-LABlab(41.18, 50.03, -76.63)
CIE-LCHlch(41.18, 91.51, 303.14°)
OKLaboklab(51.42% 0.0365 -0.221)
OKLCHoklch(51.42% 0.224 279.4)
XYZxyz(19.8141, 11.9744, 73.2039)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647E2 #D3E247
analogous
#4786E2 #5647E2 #A347E2
triadic
#5647E2 #E25647 #47E256
tetradic
#5647E2 #E24786 #D3E247 #47E2A3
square
#5647E2 #E24786 #D3E247 #47E2A3
split-complementary
#5647E2 #E2A347 #86E247
monochromatic
#241897 #3120CC #5647E2 #877CEA #B7B1F3

Accessibility & contrast

On white

6.19
#5647E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5647E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647E2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647E2#FFFFFF#000000##FFFFFF
##5647E21.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5647e2;
/* rgb */ color: rgb(86, 71, 226);
/* oklch */ color: oklch(51.4% 0.224 279.4);
Tailwind
colors: {
  custom: {
    50: '#957cec',
    500: '#5647e2',
    950: '#000000',
  },
}
SCSS
$custom: #5647e2;
$custom-light: #957cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5647e2",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 245.806,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.22398,
    "h": 279.4
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#5647E2
secondary
#DBE1A4
accent
#EF38DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5647E2

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

Preview Lab → · Contrast checker → · Palette generator →

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