#5648DC#5648DC

#5648DC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.216 H 279.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5648DC
RGBrgb(86, 72, 220)
HSLhsl(246, 68%, 57%)
HSVhsv(246, 67%, 86%)
CMYKcmyk(60.9%, 67.3%, 0%, 13.7%)
CIE-LABlab(40.86, 47.61, -73.72)
CIE-LCHlch(40.86, 87.76, 302.86°)
OKLaboklab(51.04% 0.0366 -0.2125)
OKLCHoklch(51.04% 0.216 279.8)
XYZxyz(19.0693, 11.7790, 68.9650)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648DC #CEDC48
analogous
#4884DC #5648DC #A048DC
triadic
#5648DC #DC5648 #48DC56
tetradic
#5648DC #DC4884 #CEDC48 #48DCA0
square
#5648DC #DC4884 #CEDC48 #48DCA0
split-complementary
#5648DC #DCA048 #84DC48
monochromatic
#261B8E #3425C2 #5648DC #857BE6 #B5AFF0

Accessibility & contrast

On white

6.26
#5648DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5648DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648DC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648DC#FFFFFF#000000##FFFFFF
##5648DC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5648dc;
/* rgb */ color: rgb(86, 72, 220);
/* oklch */ color: oklch(51.0% 0.216 279.8);
Tailwind
colors: {
  custom: {
    50: '#947ce8',
    500: '#5648dc',
    950: '#000000',
  },
}
SCSS
$custom: #5648dc;
$custom-light: #947ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5648dc",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 245.676,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.2156,
    "h": 279.8
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#5648DC
secondary
#D8DEA2
accent
#EB3DDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5648DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5648DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva