#5643CC#5643CC

#5643CC is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.202 H 282.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5643CC
RGBrgb(86, 67, 204)
HSLhsl(248, 57%, 53%)
HSVhsv(248, 67%, 80%)
CMYKcmyk(57.8%, 67.2%, 0%, 20%)
CIE-LABlab(38.47, 45.51, -68.43)
CIE-LCHlch(38.47, 82.18, 303.62°)
OKLaboklab(48.9% 0.0428 -0.197)
OKLCHoklch(48.9% 0.202 282.3)
XYZxyz(16.7406, 10.3513, 58.2309)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643CC #B9CC43
analogous
#4374CC #5643CC #9A43CC
triadic
#5643CC #CC5643 #43CC56
tetradic
#5643CC #CC4374 #B9CC43 #43CC9A
square
#5643CC #CC4374 #B9CC43 #43CC9A
split-complementary
#5643CC #CC9A43 #74CC43
monochromatic
#2C2075 #3D2DA5 #5643CC #8173D9 #ADA3E6

Accessibility & contrast

On white

6.84
#5643CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5643CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643CC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643CC#FFFFFF#000000##FFFFFF
##5643CC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#0E6682
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5643cc;
/* rgb */ color: rgb(86, 67, 204);
/* oklch */ color: oklch(48.9% 0.202 282.3);
Tailwind
colors: {
  custom: {
    50: '#9179dd',
    500: '#5643cc',
    950: '#000000',
  },
}
SCSS
$custom: #5643cc;
$custom-light: #9179dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5643cc",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 248.321,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48896,
    "c": 0.20157,
    "h": 282.3
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#5643CC
secondary
#CBD398
accent
#E147CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5643CC

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

Preview Lab → · Contrast checker → · Palette generator →

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