#5647B8#5647B8

#5647B8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.171 H 283.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5647B8
RGBrgb(86, 71, 184)
HSLhsl(248, 44%, 50%)
HSVhsv(248, 61%, 72%)
CMYKcmyk(53.3%, 61.4%, 0%, 27.8%)
CIE-LABlab(37.74, 36.98, -57.93)
CIE-LCHlch(37.74, 68.73, 302.55°)
OKLaboklab(47.87% 0.0411 -0.1661)
OKLCHoklch(47.87% 0.171 283.9)
XYZxyz(14.7401, 9.9448, 46.4809)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647B8 #A9B847
analogous
#4770B8 #5647B8 #8F47B8
triadic
#5647B8 #B85647 #47B856
tetradic
#5647B8 #B84770 #A9B847 #47B88F
square
#5647B8 #B84770 #A9B847 #47B88F
split-complementary
#5647B8 #B88F47 #70B847
monochromatic
#2D2560 #41368C #5647B8 #7F73C9 #A79FDA

Accessibility & contrast

On white

7.03
#5647B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5647B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5647B8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647B8#FFFFFF#000000##FFFFFF
##5647B81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#2D6279
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5647b8;
/* rgb */ color: rgb(86, 71, 184);
/* oklch */ color: oklch(47.9% 0.171 283.9);
Tailwind
colors: {
  custom: {
    50: '#8e7bce',
    500: '#5647b8',
    950: '#000000',
  },
}
SCSS
$custom: #5647b8;
$custom-light: #8e7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#5647b8",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 247.965,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.17113,
    "h": 283.9
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#5647B8
secondary
#C0C794
accent
#D454C3
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5647B8

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

Preview Lab → · Contrast checker → · Palette generator →

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