#5643C4#5643C4

#5643C4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.192 H 283.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5643C4
RGBrgb(86, 67, 196)
HSLhsl(249, 52%, 52%)
HSVhsv(249, 66%, 77%)
CMYKcmyk(56.1%, 65.8%, 0%, 23.1%)
CIE-LABlab(37.80, 43.05, -64.87)
CIE-LCHlch(37.80, 77.85, 303.57°)
OKLaboklab(48.21% 0.0439 -0.1865)
OKLCHoklch(48.21% 0.192 283.2)
XYZxyz(15.8057, 9.9773, 53.3068)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643C4 #B1C443
analogous
#4371C4 #5643C4 #9743C4
triadic
#5643C4 #C45643 #43C456
tetradic
#5643C4 #C44371 #B1C443 #43C497
square
#5643C4 #C44371 #B1C443 #43C497
split-complementary
#5643C4 #C49743 #71C443
monochromatic
#2C226B #40309A #5643C4 #8072D3 #AAA0E1

Accessibility & contrast

On white

7.01
#5643C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5643C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643C4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643C4#FFFFFF#000000##FFFFFF
##5643C41.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#1F647E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5643c4;
/* rgb */ color: rgb(86, 67, 196);
/* oklch */ color: oklch(48.2% 0.192 283.2);
Tailwind
colors: {
  custom: {
    50: '#9078d7',
    500: '#5643c4',
    950: '#000000',
  },
}
SCSS
$custom: #5643c4;
$custom-light: #9078d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5643c4",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 248.837,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48211,
    "c": 0.1916,
    "h": 283.2
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#5643C4
secondary
#C5CE95
accent
#DC4CC7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5643C4

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

Preview Lab → · Contrast checker → · Palette generator →

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