#5648D4#5648D4

#5648D4 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.3% C 0.206 H 280.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5648D4
RGBrgb(86, 72, 212)
HSLhsl(246, 62%, 56%)
HSVhsv(246, 66%, 83%)
CMYKcmyk(59.4%, 66%, 0%, 16.9%)
CIE-LABlab(40.19, 45.12, -70.23)
CIE-LCHlch(40.19, 83.48, 302.72°)
OKLaboklab(50.35% 0.0376 -0.2023)
OKLCHoklch(50.35% 0.206 280.5)
XYZxyz(18.0350, 11.3654, 63.5180)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648D4 #C6D448
analogous
#4880D4 #5648D4 #9C48D4
triadic
#5648D4 #D45648 #48D456
tetradic
#5648D4 #D44880 #C6D448 #48D49C
square
#5648D4 #D44880 #C6D448 #48D49C
split-complementary
#5648D4 #D49C48 #80D448
monochromatic
#291F83 #382AB4 #5648D4 #847AE0 #B2ABEB

Accessibility & contrast

On white

6.42
#5648D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5648D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648D4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648D4#FFFFFF#000000##FFFFFF
##5648D41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5648d4;
/* rgb */ color: rgb(86, 72, 212);
/* oklch */ color: oklch(50.3% 0.206 280.5);
Tailwind
colors: {
  custom: {
    50: '#927ce2',
    500: '#5648d4',
    950: '#000000',
  },
}
SCSS
$custom: #5648d4;
$custom-light: #927ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#5648d4",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 246,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.20572,
    "h": 280.5
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#5648D4
secondary
#D3D99F
accent
#E543D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5648D4

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

Preview Lab → · Contrast checker → · Palette generator →

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