#5643C8#5643C8

#5643C8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.6% C 0.197 H 282.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5643C8
RGBrgb(86, 67, 200)
HSLhsl(249, 55%, 52%)
HSVhsv(249, 67%, 78%)
CMYKcmyk(57%, 66.5%, 0%, 21.6%)
CIE-LABlab(38.13, 44.28, -66.66)
CIE-LCHlch(38.13, 80.03, 303.60°)
OKLaboklab(48.55% 0.0434 -0.1918)
OKLCHoklch(48.55% 0.197 282.7)
XYZxyz(16.2670, 10.1618, 55.7366)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643C8 #B5C843
analogous
#4373C8 #5643C8 #9843C8
triadic
#5643C8 #C85643 #43C856
tetradic
#5643C8 #C84373 #B5C843 #43C898
square
#5643C8 #C84373 #B5C843 #43C898
split-complementary
#5643C8 #C89843 #73C843
monochromatic
#2C2170 #3F2F9F #5643C8 #8172D6 #ABA2E4

Accessibility & contrast

On white

6.92
#5643C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5643C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643C8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643C8#FFFFFF#000000##FFFFFF
##5643C81.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#186580
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5643c8;
/* rgb */ color: rgb(86, 67, 200);
/* oklch */ color: oklch(48.6% 0.197 282.7);
Tailwind
colors: {
  custom: {
    50: '#9179da',
    500: '#5643c8',
    950: '#000000',
  },
}
SCSS
$custom: #5643c8;
$custom-light: #9179da;
$custom-dark: #000000;
JSON
{
  "hex": "#5643c8",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 248.571,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.1966,
    "h": 282.7
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#5643C8
secondary
#C8D096
accent
#DE4AC9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5643C8

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

Preview Lab → · Contrast checker → · Palette generator →

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