#5643CE#5643CE

#5643CE is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.204 H 282.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5643CE
RGBrgb(86, 67, 206)
HSLhsl(248, 59%, 54%)
HSVhsv(248, 67%, 81%)
CMYKcmyk(58.3%, 67.5%, 0%, 19.2%)
CIE-LABlab(38.63, 46.12, -69.32)
CIE-LCHlch(38.63, 83.26, 303.64°)
OKLaboklab(49.07% 0.0426 -0.1996)
OKLCHoklch(49.07% 0.204 282)
XYZxyz(16.9820, 10.4478, 59.5023)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643CE #BBCE43
analogous
#4375CE #5643CE #9B43CE
triadic
#5643CE #CE5643 #43CE56
tetradic
#5643CE #CE4375 #BBCE43 #43CE9B
square
#5643CE #CE4375 #BBCE43 #43CE9B
split-complementary
#5643CE #CE9B43 #75CE43
monochromatic
#2B1F77 #3D2CA8 #5643CE #8274DB #ADA4E7

Accessibility & contrast

On white

6.80
#5643CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5643CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643CE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643CE#FFFFFF#000000##FFFFFF
##5643CE1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#076783
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5643ce;
/* rgb */ color: rgb(86, 67, 206);
/* oklch */ color: oklch(49.1% 0.204 282.0);
Tailwind
colors: {
  custom: {
    50: '#9279de',
    500: '#5643ce',
    950: '#000000',
  },
}
SCSS
$custom: #5643ce;
$custom-light: #9279de;
$custom-dark: #000000;
JSON
{
  "hex": "#5643ce",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 248.201,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.20405,
    "h": 282
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#5643CE
secondary
#CCD499
accent
#E246CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5643CE

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

Preview Lab → · Contrast checker → · Palette generator →

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