#5645AF#5645AF

#5645AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.162 H 285.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5645AF
RGBrgb(86, 69, 175)
HSLhsl(250, 43%, 48%)
HSVhsv(250, 61%, 69%)
CMYKcmyk(50.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(36.61, 35.40, -54.45)
CIE-LCHlch(36.61, 64.94, 303.03°)
OKLaboklab(46.83% 0.0437 -0.1559)
OKLCHoklch(46.83% 0.162 285.6)
XYZxyz(13.7014, 9.3291, 41.6279)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645AF #9EAF45
analogous
#4569AF #5645AF #8B45AF
triadic
#5645AF #AF5645 #45AF56
tetradic
#5645AF #AF4569 #9EAF45 #45AF8B
square
#5645AF #AF4569 #9EAF45 #45AF8B
split-complementary
#5645AF #AF8B45 #69AF45
monochromatic
#2B2257 #403483 #5645AF #7A6CC5 #A298D6

Accessibility & contrast

On white

7.33
#5645AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5645AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5645AF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645AF#FFFFFF#000000##FFFFFF
##5645AF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#355E73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5645af;
/* rgb */ color: rgb(86, 69, 175);
/* oklch */ color: oklch(46.8% 0.162 285.6);
Tailwind
colors: {
  custom: {
    50: '#8d79c8',
    500: '#5645af',
    950: '#000000',
  },
}
SCSS
$custom: #5645af;
$custom-light: #8d79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5645af",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 249.623,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.16188,
    "h": 285.6
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#5645AF
secondary
#BAC28D
accent
#D355BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5645AF

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

Preview Lab → · Contrast checker → · Palette generator →

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