#5645E0#5645E0

#5645E0 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.0% C 0.224 H 279.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5645E0
RGBrgb(86, 69, 224)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 88%)
CMYKcmyk(61.6%, 69.2%, 0%, 12.2%)
CIE-LABlab(40.60, 50.52, -76.44)
CIE-LCHlch(40.60, 91.62, 303.46°)
OKLaboklab(50.96% 0.0382 -0.2204)
OKLCHoklch(50.96% 0.224 279.8)
XYZxyz(19.4161, 11.6150, 71.7253)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645E0 #CFE045
analogous
#4581E0 #5645E0 #A445E0
triadic
#5645E0 #E05645 #45E056
tetradic
#5645E0 #E04581 #CFE045 #45E0A4
square
#5645E0 #E04581 #CFE045 #45E0A4
split-complementary
#5645E0 #E0A445 #81E045
monochromatic
#261892 #3321C7 #5645E0 #8679E9 #B5AEF1

Accessibility & contrast

On white

6.32
#5645E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5645E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645E0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645E0#FFFFFF#000000##FFFFFF
##5645E01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E5
Deuteranopia (green-blind)
#005ADD
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5645e0;
/* rgb */ color: rgb(86, 69, 224);
/* oklch */ color: oklch(51.0% 0.224 279.8);
Tailwind
colors: {
  custom: {
    50: '#957beb',
    500: '#5645e0',
    950: '#000000',
  },
}
SCSS
$custom: #5645e0;
$custom-light: #957beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5645e0",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 246.581,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.22372,
    "h": 279.8
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#5645E0
secondary
#D9E0A1
accent
#EE3ADA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5645E0

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

Preview Lab → · Contrast checker → · Palette generator →

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