#5643E1#5643E1

#5643E1 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.8% C 0.227 H 280.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5643E1
RGBrgb(86, 67, 225)
HSLhsl(247, 72%, 57%)
HSVhsv(247, 70%, 88%)
CMYKcmyk(61.8%, 70.2%, 0%, 11.8%)
CIE-LABlab(40.29, 51.91, -77.51)
CIE-LCHlch(40.29, 93.29, 303.81°)
OKLaboklab(50.76% 0.0395 -0.2236)
OKLCHoklch(50.76% 0.227 280)
XYZxyz(19.4312, 11.4275, 72.4013)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643E1 #CEE143
analogous
#437FE1 #5643E1 #A543E1
triadic
#5643E1 #E15643 #43E156
tetradic
#5643E1 #E1437F #CEE143 #43E1A5
square
#5643E1 #E1437F #CEE143 #43E1A5
split-complementary
#5643E1 #E1A543 #7FE143
monochromatic
#261792 #3420C7 #5643E1 #8578E9 #B5ADF2

Accessibility & contrast

On white

6.39
#5643E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5643E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643E1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643E1#FFFFFF#000000##FFFFFF
##5643E11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#0059DE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5643e1;
/* rgb */ color: rgb(86, 67, 225);
/* oklch */ color: oklch(50.8% 0.227 280.0);
Tailwind
colors: {
  custom: {
    50: '#9579ec',
    500: '#5643e1',
    950: '#000000',
  },
}
SCSS
$custom: #5643e1;
$custom-light: #9579ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5643e1",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 225
  },
  "hsl": {
    "h": 247.215,
    "s": 72.477,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.22702,
    "h": 280
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#5643E1
secondary
#D8E0A0
accent
#EF39D9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5643E1

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

Preview Lab → · Contrast checker → · Palette generator →

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