#5648CB#5648CB

#5648CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.6% C 0.194 H 281.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5648CB
RGBrgb(86, 72, 203)
HSLhsl(246, 56%, 54%)
HSVhsv(246, 65%, 80%)
CMYKcmyk(57.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(39.45, 42.32, -66.24)
CIE-LCHlch(39.45, 78.61, 302.57°)
OKLaboklab(49.58% 0.0386 -0.1905)
OKLCHoklch(49.58% 0.194 281.5)
XYZxyz(16.9312, 10.9238, 57.7047)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648CB #BDCB48
analogous
#487CCB #5648CB #9848CB
triadic
#5648CB #CB5648 #48CB56
tetradic
#5648CB #CB487C #BDCB48 #48CB98
square
#5648CB #CB487C #BDCB48 #48CB98
split-complementary
#5648CB #CB9848 #7CCB48
monochromatic
#2B2277 #3C2FA6 #5648CB #8278D9 #AEA7E6

Accessibility & contrast

On white

6.59
#5648CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5648CB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648CB#FFFFFF#000000##FFFFFF
##5648CB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#106983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5648cb;
/* rgb */ color: rgb(86, 72, 203);
/* oklch */ color: oklch(49.6% 0.194 281.5);
Tailwind
colors: {
  custom: {
    50: '#917cdc',
    500: '#5648cb',
    950: '#000000',
  },
}
SCSS
$custom: #5648cb;
$custom-light: #917cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5648cb",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 246.412,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.19441,
    "h": 281.5
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

primary
#5648CB
secondary
#CDD39B
accent
#DF49CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5648CB

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

Preview Lab → · Contrast checker → · Palette generator →

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