#5648CC#5648CC

#5648CC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.7% C 0.196 H 281.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5648CC
RGBrgb(86, 72, 204)
HSLhsl(246, 56%, 54%)
HSVhsv(246, 65%, 80%)
CMYKcmyk(57.8%, 64.7%, 0%, 20%)
CIE-LABlab(39.53, 42.63, -66.69)
CIE-LCHlch(39.53, 79.15, 302.59°)
OKLaboklab(49.67% 0.0385 -0.1918)
OKLCHoklch(49.67% 0.196 281.4)
XYZxyz(17.0508, 10.9717, 58.3343)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648CC #BECC48
analogous
#487CCC #5648CC #9848CC
triadic
#5648CC #CC5648 #48CC56
tetradic
#5648CC #CC487C #BECC48 #48CC98
square
#5648CC #CC487C #BECC48 #48CC98
split-complementary
#5648CC #CC9848 #7CCC48
monochromatic
#2B2178 #3C2FA8 #5648CC #8278D9 #AEA8E7

Accessibility & contrast

On white

6.57
#5648CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5648CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648CC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648CC#FFFFFF#000000##FFFFFF
##5648CC1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#0D6983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5648cc;
/* rgb */ color: rgb(86, 72, 204);
/* oklch */ color: oklch(49.7% 0.196 281.4);
Tailwind
colors: {
  custom: {
    50: '#917cdd',
    500: '#5648cc',
    950: '#000000',
  },
}
SCSS
$custom: #5648cc;
$custom-light: #917cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5648cc",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 246.364,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.19568,
    "h": 281.4
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#5648CC
secondary
#CED49C
accent
#E048D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5648CC

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

Preview Lab → · Contrast checker → · Palette generator →

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