#5648E7#5648E7

#5648E7 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.229 H 278.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5648E7
RGBrgb(86, 72, 231)
HSLhsl(245, 77%, 59%)
HSVhsv(245, 69%, 91%)
CMYKcmyk(62.8%, 68.8%, 0%, 9.4%)
CIE-LABlab(41.82, 51.01, -78.42)
CIE-LCHlch(41.82, 93.55, 303.04°)
OKLaboklab(52.02% 0.035 -0.2262)
OKLCHoklch(52.02% 0.229 278.8)
XYZxyz(20.5743, 12.3811, 76.8914)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648E7 #D9E748
analogous
#488AE7 #5648E7 #A648E7
triadic
#5648E7 #E75648 #48E756
tetradic
#5648E7 #E7488A #D9E748 #48E7A6
square
#5648E7 #E7488A #D9E748 #48E7A6
split-complementary
#5648E7 #E7A648 #8AE748
monochromatic
#2115A0 #2C1CD6 #5648E7 #887EEE #BAB4F5

Accessibility & contrast

On white

6.04
#5648E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5648E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648E7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648E7#FFFFFF#000000##FFFFFF
##5648E71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005CE4
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5648e7;
/* rgb */ color: rgb(86, 72, 231);
/* oklch */ color: oklch(52.0% 0.229 278.8);
Tailwind
colors: {
  custom: {
    50: '#967df0',
    500: '#5648e7',
    950: '#000000',
  },
}
SCSS
$custom: #5648e7;
$custom-light: #967df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5648e7",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 245.283,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.22892,
    "h": 278.8
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#5648E7
secondary
#DFE4A6
accent
#F334E3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5648E7

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

Preview Lab → · Contrast checker → · Palette generator →

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