#5646BB#5646BB

#5646BB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.176 H 283.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5646BB
RGBrgb(86, 70, 187)
HSLhsl(248, 46%, 50%)
HSVhsv(248, 63%, 73%)
CMYKcmyk(54%, 62.6%, 0%, 26.7%)
CIE-LABlab(37.74, 38.51, -59.69)
CIE-LCHlch(37.74, 71.04, 302.83°)
OKLaboklab(47.95% 0.0419 -0.1713)
OKLCHoklch(47.95% 0.176 283.7)
XYZxyz(14.9948, 9.9458, 48.1337)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646BB #ABBB46
analogous
#4670BB #5646BB #9046BB
triadic
#5646BB #BB5646 #46BB56
tetradic
#5646BB #BB4670 #ABBB46 #46BB90
square
#5646BB #BB4670 #ABBB46 #46BB90
split-complementary
#5646BB #BB9046 #70BB46
monochromatic
#2D2462 #41358F #5646BB #7F73CB #A8A0DC

Accessibility & contrast

On white

7.02
#5646BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5646BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5646BB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646BB#FFFFFF#000000##FFFFFF
##5646BB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#2A627A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5646bb;
/* rgb */ color: rgb(86, 70, 187);
/* oklch */ color: oklch(47.9% 0.176 283.7);
Tailwind
colors: {
  custom: {
    50: '#8f7ad0',
    500: '#5646bb',
    950: '#000000',
  },
}
SCSS
$custom: #5646bb;
$custom-light: #8f7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5646bb",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 248.205,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.17635,
    "h": 283.7
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#5646BB
secondary
#C1C894
accent
#D652C4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5646BB

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

Preview Lab → · Contrast checker → · Palette generator →

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