#5643E6#5643E6

#5643E6 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.233 H 279.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5643E6
RGBrgb(86, 67, 230)
HSLhsl(247, 77%, 58%)
HSVhsv(247, 71%, 90%)
CMYKcmyk(62.6%, 70.9%, 0%, 9.8%)
CIE-LABlab(40.74, 53.43, -79.62)
CIE-LCHlch(40.74, 95.88, 303.86°)
OKLaboklab(51.22% 0.0386 -0.2297)
OKLCHoklch(51.22% 0.233 279.5)
XYZxyz(20.1233, 11.7043, 76.0463)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643E6 #D3E643
analogous
#4381E6 #5643E6 #A743E6
triadic
#5643E6 #E65643 #43E656
tetradic
#5643E6 #E64381 #D3E643 #43E6A7
square
#5643E6 #E64381 #D3E643 #43E6A7
split-complementary
#5643E6 #E6A743 #81E643
monochromatic
#24149A #311CD0 #5643E6 #8779ED #B7AFF4

Accessibility & contrast

On white

6.29
#5643E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5643E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643E6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643E6#FFFFFF#000000##FFFFFF
##5643E61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EB
Deuteranopia (green-blind)
#005AE3
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5643e6;
/* rgb */ color: rgb(86, 67, 230);
/* oklch */ color: oklch(51.2% 0.233 279.5);
Tailwind
colors: {
  custom: {
    50: '#9679ef',
    500: '#5643e6',
    950: '#000000',
  },
}
SCSS
$custom: #5643e6;
$custom-light: #9679ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5643e6",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 230
  },
  "hsl": {
    "h": 246.994,
    "s": 76.526,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.23294,
    "h": 279.5
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#5643E6
secondary
#DBE3A2
accent
#F335DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5643E6

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

Preview Lab → · Contrast checker → · Palette generator →

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