#5643E5#5643E5

#5643E5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.232 H 279.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5643E5
RGBrgb(86, 67, 229)
HSLhsl(247, 76%, 58%)
HSVhsv(247, 71%, 90%)
CMYKcmyk(62.4%, 70.7%, 0%, 10.2%)
CIE-LABlab(40.65, 53.12, -79.20)
CIE-LCHlch(40.65, 95.36, 303.85°)
OKLaboklab(51.13% 0.0388 -0.2285)
OKLCHoklch(51.13% 0.232 279.6)
XYZxyz(19.9833, 11.6483, 75.3088)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643E5 #D2E543
analogous
#4381E5 #5643E5 #A743E5
triadic
#5643E5 #E55643 #43E556
tetradic
#5643E5 #E54381 #D2E543 #43E5A7
square
#5643E5 #E54381 #D2E543 #43E5A7
split-complementary
#5643E5 #E5A743 #81E543
monochromatic
#251599 #311DCE #5643E5 #8679EC #B7AFF4

Accessibility & contrast

On white

6.31
#5643E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5643E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643E5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643E5#FFFFFF#000000##FFFFFF
##5643E51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EA
Deuteranopia (green-blind)
#0059E2
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5643e5;
/* rgb */ color: rgb(86, 67, 229);
/* oklch */ color: oklch(51.1% 0.232 279.6);
Tailwind
colors: {
  custom: {
    50: '#9679ef',
    500: '#5643e5',
    950: '#000000',
  },
}
SCSS
$custom: #5643e5;
$custom-light: #9679ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5643e5",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 229
  },
  "hsl": {
    "h": 247.037,
    "s": 75.701,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.23175,
    "h": 279.6
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#5643E5
secondary
#DBE2A2
accent
#F236DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5643E5

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

Preview Lab → · Contrast checker → · Palette generator →

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