#5648CF#5648CF

#5648CF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.9% C 0.199 H 281.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5648CF
RGBrgb(86, 72, 207)
HSLhsl(246, 58%, 55%)
HSVhsv(246, 65%, 81%)
CMYKcmyk(58.5%, 65.2%, 0%, 18.8%)
CIE-LABlab(39.78, 43.56, -68.03)
CIE-LCHlch(39.78, 80.78, 302.64°)
OKLaboklab(49.92% 0.0382 -0.1958)
OKLCHoklch(49.92% 0.199 281)
XYZxyz(17.4141, 11.1170, 60.2475)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5648CF #C1CF48
analogous
#487ECF #5648CF #9948CF
triadic
#5648CF #CF5648 #48CF56
tetradic
#5648CF #CF487E #C1CF48 #48CF99
square
#5648CF #CF487E #C1CF48 #48CF99
split-complementary
#5648CF #CF9948 #7ECF48
monochromatic
#2A217C #3A2DAD #5648CF #8378DC #B0A9E8

Accessibility & contrast

On white

6.51
#5648CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5648CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5648CF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5648CF#FFFFFF#000000##FFFFFF
##5648CF1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#016A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5648cf;
/* rgb */ color: rgb(86, 72, 207);
/* oklch */ color: oklch(49.9% 0.199 281.0);
Tailwind
colors: {
  custom: {
    50: '#927cdf',
    500: '#5648cf',
    950: '#000000',
  },
}
SCSS
$custom: #5648cf;
$custom-light: #927cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5648cf",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 246.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.19946,
    "h": 281
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#5648CF
secondary
#D0D69D
accent
#E246D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5648CF

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

Preview Lab → · Contrast checker → · Palette generator →

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