#5645D3#5645D3

#5645D3 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.208 H 281.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5645D3
RGBrgb(86, 69, 211)
HSLhsl(247, 62%, 55%)
HSVhsv(247, 67%, 83%)
CMYKcmyk(59.2%, 67.3%, 0%, 17.3%)
CIE-LABlab(39.47, 46.53, -70.83)
CIE-LCHlch(39.47, 84.74, 303.30°)
OKLaboklab(49.8% 0.0402 -0.204)
OKLCHoklch(49.8% 0.208 281.1)
XYZxyz(17.7201, 10.9366, 62.7926)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645D3 #C2D345
analogous
#457BD3 #5645D3 #9D45D3
triadic
#5645D3 #D35645 #45D356
tetradic
#5645D3 #D3457B #C2D345 #45D39D
square
#5645D3 #D3457B #C2D345 #45D39D
split-complementary
#5645D3 #D39D45 #7BD345
monochromatic
#2A1E7F #3A2AB1 #5645D3 #8376DF #B0A8EA

Accessibility & contrast

On white

6.59
#5645D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5645D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645D3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645D3#FFFFFF#000000##FFFFFF
##5645D31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5645d3;
/* rgb */ color: rgb(86, 69, 211);
/* oklch */ color: oklch(49.8% 0.208 281.1);
Tailwind
colors: {
  custom: {
    50: '#927ae2',
    500: '#5645d3',
    950: '#000000',
  },
}
SCSS
$custom: #5645d3;
$custom-light: #927ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#5645d3",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 247.183,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.20792,
    "h": 281.1
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#5645D3
secondary
#D1D89C
accent
#E543D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5645D3

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

Preview Lab → · Contrast checker → · Palette generator →

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