#5645DF#5645DF

#5645DF is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.223 H 279.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5645DF
RGBrgb(86, 69, 223)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(61.4%, 69.1%, 0%, 12.5%)
CIE-LABlab(40.51, 50.21, -76.01)
CIE-LCHlch(40.51, 91.10, 303.45°)
OKLaboklab(50.87% 0.0384 -0.2192)
OKLCHoklch(50.87% 0.223 279.9)
XYZxyz(19.2809, 11.5609, 71.0132)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645DF #CEDF45
analogous
#4581DF #5645DF #A345DF
triadic
#5645DF #DF5645 #45DF56
tetradic
#5645DF #DF4581 #CEDF45 #45DFA3
square
#5645DF #DF4581 #CEDF45 #45DFA3
split-complementary
#5645DF #DFA345 #81DF45
monochromatic
#261991 #3422C5 #5645DF #8579E8 #B5ADF1

Accessibility & contrast

On white

6.34
#5645DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5645DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645DF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645DF#FFFFFF#000000##FFFFFF
##5645DF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5645df;
/* rgb */ color: rgb(86, 69, 223);
/* oklch */ color: oklch(50.9% 0.223 279.9);
Tailwind
colors: {
  custom: {
    50: '#957aea',
    500: '#5645df',
    950: '#000000',
  },
}
SCSS
$custom: #5645df;
$custom-light: #957aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5645df",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 246.623,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.22252,
    "h": 279.9
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#5645DF
secondary
#D8DFA1
accent
#ED3ADA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5645DF

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

Preview Lab → · Contrast checker → · Palette generator →

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