#5645BD#5645BD

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

Color values

HEX#5645BD
RGBrgb(86, 69, 189)
HSLhsl(249, 48%, 51%)
HSVhsv(249, 63%, 74%)
CMYKcmyk(54.5%, 63.5%, 0%, 25.9%)
CIE-LABlab(37.68, 39.72, -60.98)
CIE-LCHlch(37.68, 72.78, 303.08°)
OKLaboklab(47.95% 0.0427 -0.1751)
OKLCHoklch(47.95% 0.18 283.7)
XYZxyz(15.1484, 9.9079, 49.2484)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645BD #ACBD45
analogous
#4570BD #5645BD #9245BD
triadic
#5645BD #BD5645 #45BD56
tetradic
#5645BD #BD4570 #ACBD45 #45BD92
square
#5645BD #BD4570 #ACBD45 #45BD92
split-complementary
#5645BD #BD9245 #70BD45
monochromatic
#2D2464 #413491 #5645BD #7F72CD #A89FDD

Accessibility & contrast

On white

7.04
#5645BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5645BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5645BD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645BD#FFFFFF#000000##FFFFFF
##5645BD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#28627A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5645bd;
/* rgb */ color: rgb(86, 69, 189);
/* oklch */ color: oklch(47.9% 0.180 283.7);
Tailwind
colors: {
  custom: {
    50: '#8f7ad2',
    500: '#5645bd',
    950: '#000000',
  },
}
SCSS
$custom: #5645bd;
$custom-light: #8f7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5645bd",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 248.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.18022,
    "h": 283.7
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#5645BD
secondary
#C2CA94
accent
#D751C4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5645BD

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

Preview Lab → · Contrast checker → · Palette generator →

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