#5643DE#5643DE

#5643DE is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.223 H 280.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5643DE
RGBrgb(86, 67, 222)
HSLhsl(247, 70%, 57%)
HSVhsv(247, 70%, 87%)
CMYKcmyk(61.3%, 69.8%, 0%, 12.9%)
CIE-LABlab(40.02, 51.00, -76.24)
CIE-LCHlch(40.02, 91.73, 303.78°)
OKLaboklab(50.49% 0.04 -0.2198)
OKLCHoklch(50.49% 0.223 280.3)
XYZxyz(19.0255, 11.2653, 70.2649)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643DE #CBDE43
analogous
#437EDE #5643DE #A443DE
triadic
#5643DE #DE5643 #43DE56
tetradic
#5643DE #DE437E #CBDE43 #43DEA4
square
#5643DE #DE437E #CBDE43 #43DEA4
split-complementary
#5643DE #DEA443 #7EDE43
monochromatic
#27198E #3622C2 #5643DE #8577E7 #B4ABF0

Accessibility & contrast

On white

6.45
#5643DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5643DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643DE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643DE#FFFFFF#000000##FFFFFF
##5643DE1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E3
Deuteranopia (green-blind)
#0058DB
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5643de;
/* rgb */ color: rgb(86, 67, 222);
/* oklch */ color: oklch(50.5% 0.223 280.3);
Tailwind
colors: {
  custom: {
    50: '#9579ea',
    500: '#5643de',
    950: '#000000',
  },
}
SCSS
$custom: #5643de;
$custom-light: #9579ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5643de",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 222
  },
  "hsl": {
    "h": 247.355,
    "s": 70.136,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.22345,
    "h": 280.3
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#5643DE
secondary
#D6DE9F
accent
#ED3BD7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5643DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5643DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva