#5645BF#5645BF

#5645BF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.183 H 283.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5645BF
RGBrgb(86, 69, 191)
HSLhsl(248, 49%, 51%)
HSVhsv(248, 64%, 75%)
CMYKcmyk(55%, 63.9%, 0%, 25.1%)
CIE-LABlab(37.83, 40.34, -61.89)
CIE-LCHlch(37.83, 73.88, 303.10°)
OKLaboklab(48.11% 0.0426 -0.1778)
OKLCHoklch(48.11% 0.183 283.5)
XYZxyz(15.3670, 9.9954, 50.3997)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645BF #AEBF45
analogous
#4571BF #5645BF #9345BF
triadic
#5645BF #BF5645 #45BF56
tetradic
#5645BF #BF4571 #AEBF45 #45BF93
square
#5645BF #BF4571 #AEBF45 #45BF93
split-complementary
#5645BF #BF9345 #71BF45
monochromatic
#2D2366 #403394 #5645BF #7F73CF #A9A0DE

Accessibility & contrast

On white

7.00
#5645BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5645BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645BF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645BF#FFFFFF#000000##FFFFFF
##5645BF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#26637C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5645bf;
/* rgb */ color: rgb(86, 69, 191);
/* oklch */ color: oklch(48.1% 0.183 283.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ad3',
    500: '#5645bf',
    950: '#000000',
  },
}
SCSS
$custom: #5645bf;
$custom-light: #8f7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5645bf",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 248.361,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.18279,
    "h": 283.5
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#5645BF
secondary
#C3CB95
accent
#D84FC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5645BF

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

Preview Lab → · Contrast checker → · Palette generator →

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