#5648D3#5648D3

#5648D3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.204 H 280.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5648D3
RGBrgb(86, 72, 211)
HSLhsl(246, 61%, 55%)
HSVhsv(246, 66%, 83%)
CMYKcmyk(59.2%, 65.9%, 0%, 17.3%)
CIE-LABlab(40.11, 44.81, -69.79)
CIE-LCHlch(40.11, 82.94, 302.70°)
OKLaboklab(50.26% 0.0377 -0.201)
OKLCHoklch(50.26% 0.204 280.6)
XYZxyz(17.9093, 11.3151, 62.8557)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648D3 #C5D348
analogous
#487FD3 #5648D3 #9B48D3
triadic
#5648D3 #D35648 #48D356
tetradic
#5648D3 #D3487F #C5D348 #48D39B
square
#5648D3 #D3487F #C5D348 #48D39B
split-complementary
#5648D3 #D39B48 #7FD348
monochromatic
#291F81 #392BB3 #5648D3 #8479DF #B1ABEB

Accessibility & contrast

On white

6.44
#5648D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5648D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648D3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648D3#FFFFFF#000000##FFFFFF
##5648D31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5648d3;
/* rgb */ color: rgb(86, 72, 211);
/* oklch */ color: oklch(50.3% 0.204 280.6);
Tailwind
colors: {
  custom: {
    50: '#927ce2',
    500: '#5648d3',
    950: '#000000',
  },
}
SCSS
$custom: #5648d3;
$custom-light: #927ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#5648d3",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 246.043,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50261,
    "c": 0.20447,
    "h": 280.6
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#5648D3
secondary
#D3D89E
accent
#E443D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5648D3

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

Preview Lab → · Contrast checker → · Palette generator →

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