#5645E5#5645E5

#5645E5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.230 H 279.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5645E5
RGBrgb(86, 69, 229)
HSLhsl(246, 75%, 58%)
HSVhsv(246, 70%, 90%)
CMYKcmyk(62.4%, 69.9%, 0%, 10.2%)
CIE-LABlab(41.04, 52.04, -78.56)
CIE-LCHlch(41.04, 94.23, 303.52°)
OKLaboklab(51.41% 0.0374 -0.2266)
OKLCHoklch(51.41% 0.23 279.4)
XYZxyz(20.1042, 11.8903, 75.3492)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645E5 #D4E545
analogous
#4584E5 #5645E5 #A645E5
triadic
#5645E5 #E55645 #45E556
tetradic
#5645E5 #E54584 #D4E545 #45E5A6
square
#5645E5 #E54584 #D4E545 #45E5A6
split-complementary
#5645E5 #E5A645 #84E545
monochromatic
#24169A #301DD0 #5645E5 #877BED #B8B0F4

Accessibility & contrast

On white

6.22
#5645E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5645E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645E5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645E5#FFFFFF#000000##FFFFFF
##5645E51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5645e5;
/* rgb */ color: rgb(86, 69, 229);
/* oklch */ color: oklch(51.4% 0.230 279.4);
Tailwind
colors: {
  custom: {
    50: '#967bee',
    500: '#5645e5',
    950: '#000000',
  },
}
SCSS
$custom: #5645e5;
$custom-light: #967bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5645e5",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 246.375,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51408,
    "c": 0.22969,
    "h": 279.4
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#5645E5
secondary
#DCE3A3
accent
#F236DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5645E5

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

Preview Lab → · Contrast checker → · Palette generator →

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