#5643C1#5643C1

#5643C1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 48.0% C 0.188 H 283.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5643C1
RGBrgb(86, 67, 193)
HSLhsl(249, 50%, 51%)
HSVhsv(249, 65%, 76%)
CMYKcmyk(55.4%, 65.3%, 0%, 24.3%)
CIE-LABlab(37.56, 42.13, -63.51)
CIE-LCHlch(37.56, 76.22, 303.56°)
OKLaboklab(47.96% 0.0442 -0.1825)
OKLCHoklch(47.96% 0.188 283.6)
XYZxyz(15.4676, 9.8421, 51.5264)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643C1 #AEC143
analogous
#436FC1 #5643C1 #9543C1
triadic
#5643C1 #C15643 #43C156
tetradic
#5643C1 #C1436F #AEC143 #43C195
square
#5643C1 #C1436F #AEC143 #43C195
split-complementary
#5643C1 #C19543 #6FC143
monochromatic
#2D2267 #403195 #5643C1 #7F71D0 #A99FDF

Accessibility & contrast

On white

7.07
#5643C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5643C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643C1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643C1#FFFFFF#000000##FFFFFF
##5643C11.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#23637C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5643c1;
/* rgb */ color: rgb(86, 67, 193);
/* oklch */ color: oklch(48.0% 0.188 283.6);
Tailwind
colors: {
  custom: {
    50: '#9078d5',
    500: '#5643c1',
    950: '#000000',
  },
}
SCSS
$custom: #5643c1;
$custom-light: #9078d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5643c1",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 193
  },
  "hsl": {
    "h": 249.048,
    "s": 50.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.18781,
    "h": 283.6
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#5643C1
secondary
#C3CC94
accent
#DA4EC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5643C1

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

Preview Lab → · Contrast checker → · Palette generator →

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