#5643E2#5643E2

#5643E2 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.9% C 0.228 H 279.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5643E2
RGBrgb(86, 67, 226)
HSLhsl(247, 73%, 57%)
HSVhsv(247, 70%, 89%)
CMYKcmyk(61.9%, 70.4%, 0%, 11.4%)
CIE-LABlab(40.38, 52.22, -77.93)
CIE-LCHlch(40.38, 93.81, 303.82°)
OKLaboklab(50.86% 0.0393 -0.2248)
OKLCHoklch(50.86% 0.228 279.9)
XYZxyz(19.5680, 11.4822, 73.1219)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643E2 #CFE243
analogous
#437FE2 #5643E2 #A643E2
triadic
#5643E2 #E25643 #43E256
tetradic
#5643E2 #E2437F #CFE243 #43E2A6
square
#5643E2 #E2437F #CFE243 #43E2A6
split-complementary
#5643E2 #E2A643 #7FE243
monochromatic
#261794 #331FC9 #5643E2 #8678EA #B5ADF2

Accessibility & contrast

On white

6.37
#5643E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5643E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643E2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643E2#FFFFFF#000000##FFFFFF
##5643E21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5643e2;
/* rgb */ color: rgb(86, 67, 226);
/* oklch */ color: oklch(50.9% 0.228 279.9);
Tailwind
colors: {
  custom: {
    50: '#9579ec',
    500: '#5643e2',
    950: '#000000',
  },
}
SCSS
$custom: #5643e2;
$custom-light: #9579ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5643e2",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 247.17,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50855,
    "c": 0.22821,
    "h": 279.9
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#5643E2
secondary
#D9E1A0
accent
#F038DA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5643E2

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

Preview Lab → · Contrast checker → · Palette generator →

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