#5648DB#5648DB

#5648DB is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.214 H 279.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5648DB
RGBrgb(86, 72, 219)
HSLhsl(246, 67%, 57%)
HSVhsv(246, 67%, 86%)
CMYKcmyk(60.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(40.78, 47.30, -73.29)
CIE-LCHlch(40.78, 87.23, 302.84°)
OKLaboklab(50.95% 0.0367 -0.2112)
OKLCHoklch(50.95% 0.214 279.9)
XYZxyz(18.9372, 11.7262, 68.2696)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648DB #CDDB48
analogous
#4884DB #5648DB #9F48DB
triadic
#5648DB #DB5648 #48DB56
tetradic
#5648DB #DB4884 #CDDB48 #48DB9F
square
#5648DB #DB4884 #CDDB48 #48DB9F
split-complementary
#5648DB #DB9F48 #84DB48
monochromatic
#261C8D #3426C0 #5648DB #857BE5 #B4AEEF

Accessibility & contrast

On white

6.28
#5648DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5648DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648DB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648DB#FFFFFF#000000##FFFFFF
##5648DB1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5648db;
/* rgb */ color: rgb(86, 72, 219);
/* oklch */ color: oklch(51.0% 0.214 279.9);
Tailwind
colors: {
  custom: {
    50: '#947ce7',
    500: '#5648db',
    950: '#000000',
  },
}
SCSS
$custom: #5648db;
$custom-light: #947ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5648db",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 245.714,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.21437,
    "h": 279.9
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#5648DB
secondary
#D8DDA2
accent
#EA3EDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5648DB

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

Preview Lab → · Contrast checker → · Palette generator →

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