#5645BB#5645BB

#5645BB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.178 H 284.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5645BB
RGBrgb(86, 69, 187)
HSLhsl(249, 46%, 50%)
HSVhsv(249, 63%, 73%)
CMYKcmyk(54%, 63.1%, 0%, 26.7%)
CIE-LABlab(37.52, 39.11, -60.06)
CIE-LCHlch(37.52, 71.67, 303.07°)
OKLaboklab(47.78% 0.0429 -0.1724)
OKLCHoklch(47.78% 0.178 284)
XYZxyz(14.9328, 9.8217, 48.1130)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645BB #AABB45
analogous
#456FBB #5645BB #9145BB
triadic
#5645BB #BB5645 #45BB56
tetradic
#5645BB #BB456F #AABB45 #45BB91
square
#5645BB #BB456F #AABB45 #45BB91
split-complementary
#5645BB #BB9145 #6FBB45
monochromatic
#2D2462 #41348F #5645BB #7F72CB #A79FDC

Accessibility & contrast

On white

7.08
#5645BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5645BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5645BB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645BB#FFFFFF#000000##FFFFFF
##5645BB1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#2A6279
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5645bb;
/* rgb */ color: rgb(86, 69, 187);
/* oklch */ color: oklch(47.8% 0.178 284.0);
Tailwind
colors: {
  custom: {
    50: '#8f7ad0',
    500: '#5645bb',
    950: '#000000',
  },
}
SCSS
$custom: #5645bb;
$custom-light: #8f7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5645bb",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 248.644,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.17763,
    "h": 284
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5645BB

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

Preview Lab → · Contrast checker → · Palette generator →

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