#5643E7#5643E7

#5643E7 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.3% C 0.234 H 279.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5643E7
RGBrgb(86, 67, 231)
HSLhsl(247, 77%, 58%)
HSVhsv(247, 71%, 91%)
CMYKcmyk(62.8%, 71%, 0%, 9.4%)
CIE-LABlab(40.83, 53.73, -80.03)
CIE-LCHlch(40.83, 96.40, 303.87°)
OKLaboklab(51.32% 0.0384 -0.2309)
OKLCHoklch(51.32% 0.234 279.4)
XYZxyz(20.2641, 11.7607, 76.7880)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643E7 #D4E743
analogous
#4382E7 #5643E7 #A843E7
triadic
#5643E7 #E75643 #43E756
tetradic
#5643E7 #E74382 #D4E743 #43E7A8
square
#5643E7 #E74382 #D4E743 #43E7A8
split-complementary
#5643E7 #E7A843 #82E743
monochromatic
#24149C #301BD2 #5643E7 #8779EE #B8B0F5

Accessibility & contrast

On white

6.26
#5643E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5643E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643E7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643E7#FFFFFF#000000##FFFFFF
##5643E71.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EC
Deuteranopia (green-blind)
#005AE4
Tritanopia (blue-blind)
#007091
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5643e7;
/* rgb */ color: rgb(86, 67, 231);
/* oklch */ color: oklch(51.3% 0.234 279.4);
Tailwind
colors: {
  custom: {
    50: '#967af0',
    500: '#5643e7',
    950: '#000000',
  },
}
SCSS
$custom: #5643e7;
$custom-light: #967af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5643e7",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 231
  },
  "hsl": {
    "h": 246.951,
    "s": 77.358,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.23411,
    "h": 279.4
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#5643E7
secondary
#DCE3A2
accent
#F434DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5643E7

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

Preview Lab → · Contrast checker → · Palette generator →

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