#5647DD#5647DD

#5647DD is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.218 H 279.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5647DD
RGBrgb(86, 71, 221)
HSLhsl(246, 69%, 57%)
HSVhsv(246, 68%, 87%)
CMYKcmyk(61.1%, 67.9%, 0%, 13.3%)
CIE-LABlab(40.74, 48.48, -74.49)
CIE-LCHlch(40.74, 88.88, 303.06°)
OKLaboklab(50.98% 0.0372 -0.2147)
OKLCHoklch(50.98% 0.218 279.8)
XYZxyz(19.1380, 11.7039, 69.6432)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5647DD #CEDD47
analogous
#4783DD #5647DD #A147DD
triadic
#5647DD #DD5647 #47DD56
tetradic
#5647DD #DD4783 #CEDD47 #47DDA1
square
#5647DD #DD4783 #CEDD47 #47DDA1
split-complementary
#5647DD #DDA147 #83DD47
monochromatic
#261A8F #3424C3 #5647DD #857BE7 #B5AEF0

Accessibility & contrast

On white

6.29
#5647DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5647DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5647DD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5647DD#FFFFFF#000000##FFFFFF
##5647DD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5647dd;
/* rgb */ color: rgb(86, 71, 221);
/* oklch */ color: oklch(51.0% 0.218 279.8);
Tailwind
colors: {
  custom: {
    50: '#947ce9',
    500: '#5647dd',
    950: '#000000',
  },
}
SCSS
$custom: #5647dd;
$custom-light: #947ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5647dd",
  "rgb": {
    "r": 86,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 246,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.21792,
    "h": 279.8
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#5647DD
secondary
#D8DEA2
accent
#EC3CDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5647DD

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

Preview Lab → · Contrast checker → · Palette generator →

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