#5648D9#5648D9

#5648D9 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.212 H 280.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5648D9
RGBrgb(86, 72, 217)
HSLhsl(246, 66%, 57%)
HSVhsv(246, 67%, 85%)
CMYKcmyk(60.4%, 66.8%, 0%, 14.9%)
CIE-LABlab(40.61, 46.68, -72.42)
CIE-LCHlch(40.61, 86.16, 302.80°)
OKLaboklab(50.78% 0.037 -0.2087)
OKLCHoklch(50.78% 0.212 280.1)
XYZxyz(18.6755, 11.6216, 66.8912)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648D9 #CBD948
analogous
#4883D9 #5648D9 #9F48D9
triadic
#5648D9 #D95648 #48D956
tetradic
#5648D9 #D94883 #CBD948 #48D99F
square
#5648D9 #D94883 #CBD948 #48D99F
split-complementary
#5648D9 #D99F48 #83D948
monochromatic
#271D8A #3627BD #5648D9 #857BE4 #B4ADEE

Accessibility & contrast

On white

6.32
#5648D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5648D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648D9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648D9#FFFFFF#000000##FFFFFF
##5648D91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5648d9;
/* rgb */ color: rgb(86, 72, 217);
/* oklch */ color: oklch(50.8% 0.212 280.1);
Tailwind
colors: {
  custom: {
    50: '#937ce6',
    500: '#5648d9',
    950: '#000000',
  },
}
SCSS
$custom: #5648d9;
$custom-light: #937ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5648d9",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 245.793,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.21191,
    "h": 280.1
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#5648D9
secondary
#D6DCA1
accent
#E93FD8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5648D9

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

Preview Lab → · Contrast checker → · Palette generator →

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