#5645BC#5645BC

#5645BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.179 H 283.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5645BC
RGBrgb(86, 69, 188)
HSLhsl(249, 47%, 50%)
HSVhsv(249, 63%, 74%)
CMYKcmyk(54.3%, 63.3%, 0%, 26.3%)
CIE-LABlab(37.60, 39.41, -60.52)
CIE-LCHlch(37.60, 72.22, 303.08°)
OKLaboklab(47.86% 0.0428 -0.1737)
OKLCHoklch(47.86% 0.179 283.8)
XYZxyz(15.0402, 9.8647, 48.6788)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645BC #ABBC45
analogous
#4570BC #5645BC #9145BC
triadic
#5645BC #BC5645 #45BC56
tetradic
#5645BC #BC4570 #ABBC45 #45BC91
square
#5645BC #BC4570 #ABBC45 #45BC91
split-complementary
#5645BC #BC9145 #70BC45
monochromatic
#2D2463 #413490 #5645BC #7F72CC #A89FDC

Accessibility & contrast

On white

7.06
#5645BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5645BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5645BC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645BC#FFFFFF#000000##FFFFFF
##5645BC1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#29627A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5645bc;
/* rgb */ color: rgb(86, 69, 188);
/* oklch */ color: oklch(47.9% 0.179 283.8);
Tailwind
colors: {
  custom: {
    50: '#8f7ad1',
    500: '#5645bc',
    950: '#000000',
  },
}
SCSS
$custom: #5645bc;
$custom-light: #8f7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5645bc",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 248.571,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47864,
    "c": 0.17893,
    "h": 283.8
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#5645BC
secondary
#C1C994
accent
#D751C4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5645BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5645BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva