#5643EA#5643EA

#5643EA is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.6% C 0.238 H 279.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5643EA
RGBrgb(86, 67, 234)
HSLhsl(247, 80%, 59%)
HSVhsv(247, 71%, 92%)
CMYKcmyk(63.2%, 71.4%, 0%, 8.2%)
CIE-LABlab(41.11, 54.63, -81.28)
CIE-LCHlch(41.11, 97.94, 303.91°)
OKLaboklab(51.59% 0.0378 -0.2346)
OKLCHoklch(51.59% 0.238 279.2)
XYZxyz(20.6914, 11.9316, 79.0386)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643EA #D7EA43
analogous
#4384EA #5643EA #A943EA
triadic
#5643EA #EA5643 #43EA56
tetradic
#5643EA #EA4384 #D7EA43 #43EAA9
square
#5643EA #EA4384 #D7EA43 #43EAA9
split-complementary
#5643EA #EAA943 #84EA43
monochromatic
#2212A1 #2E18D8 #5643EA #877AF0 #B9B1F6

Accessibility & contrast

On white

6.20
#5643EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5643EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643EA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643EA#FFFFFF#000000##FFFFFF
##5643EA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#005AE7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5643ea;
/* rgb */ color: rgb(86, 67, 234);
/* oklch */ color: oklch(51.6% 0.238 279.2);
Tailwind
colors: {
  custom: {
    50: '#977af2',
    500: '#5643ea',
    950: '#000000',
  },
}
SCSS
$custom: #5643ea;
$custom-light: #977af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5643ea",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 234
  },
  "hsl": {
    "h": 246.826,
    "s": 79.904,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51593,
    "c": 0.23762,
    "h": 279.2
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#5643EA
secondary
#DEE5A4
accent
#F631E0
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5643EA

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

Preview Lab → · Contrast checker → · Palette generator →

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