#5648BC#5648BC

#5648BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.175 H 283.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5648BC
RGBrgb(86, 72, 188)
HSLhsl(247, 46%, 51%)
HSVhsv(247, 62%, 74%)
CMYKcmyk(54.3%, 61.7%, 0%, 26.3%)
CIE-LABlab(38.28, 37.63, -59.42)
CIE-LCHlch(38.28, 70.33, 302.34°)
OKLaboklab(48.36% 0.0398 -0.1705)
OKLCHoklch(48.36% 0.175 283.2)
XYZxyz(15.2294, 10.2431, 48.7418)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648BC #AEBC48
analogous
#4874BC #5648BC #9048BC
triadic
#5648BC #BC5648 #48BC56
tetradic
#5648BC #BC4874 #AEBC48 #48BC90
square
#5648BC #BC4874 #AEBC48 #48BC90
split-complementary
#5648BC #BC9048 #74BC48
monochromatic
#2D2565 #403592 #5648BC #7F75CC #A9A2DD

Accessibility & contrast

On white

6.89
#5648BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5648BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648BC#FFFFFF#000000##FFFFFF
##5648BC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#29647B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5648bc;
/* rgb */ color: rgb(86, 72, 188);
/* oklch */ color: oklch(48.4% 0.175 283.2);
Tailwind
colors: {
  custom: {
    50: '#8f7cd1',
    500: '#5648bc',
    950: '#000000',
  },
}
SCSS
$custom: #5648bc;
$custom-light: #8f7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5648bc",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 247.241,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.17508,
    "h": 283.2
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#5648BC
secondary
#C3CA96
accent
#D652C6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5648BC

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

Preview Lab → · Contrast checker → · Palette generator →

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