#5646BF#5646BF

#5646BF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.182 H 283.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5646BF
RGBrgb(86, 70, 191)
HSLhsl(248, 49%, 51%)
HSVhsv(248, 63%, 75%)
CMYKcmyk(55%, 63.4%, 0%, 25.1%)
CIE-LABlab(38.06, 39.75, -61.53)
CIE-LCHlch(38.06, 73.26, 302.87°)
OKLaboklab(48.27% 0.0416 -0.1767)
OKLCHoklch(48.27% 0.182 283.2)
XYZxyz(15.4290, 10.1194, 50.4203)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646BF #AFBF46
analogous
#4672BF #5646BF #9246BF
triadic
#5646BF #BF5646 #46BF56
tetradic
#5646BF #BF4672 #AFBF46 #46BF92
square
#5646BF #BF4672 #AFBF46 #46BF92
split-complementary
#5646BF #BF9246 #72BF46
monochromatic
#2D2467 #403394 #5646BF #8073CF #A9A1DE

Accessibility & contrast

On white

6.94
#5646BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5646BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646BF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646BF#FFFFFF#000000##FFFFFF
##5646BF1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#26647C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5646bf;
/* rgb */ color: rgb(86, 70, 191);
/* oklch */ color: oklch(48.3% 0.182 283.2);
Tailwind
colors: {
  custom: {
    50: '#8f7ad3',
    500: '#5646bf',
    950: '#000000',
  },
}
SCSS
$custom: #5646bf;
$custom-light: #8f7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5646bf",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 247.934,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.18153,
    "h": 283.2
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#5646BF
secondary
#C4CB96
accent
#D850C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5646BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5646BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva