#5643D8#5643D8

#5643D8 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.216 H 280.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5643D8
RGBrgb(86, 67, 216)
HSLhsl(248, 66%, 55%)
HSVhsv(248, 69%, 85%)
CMYKcmyk(60.2%, 69%, 0%, 15.3%)
CIE-LABlab(39.49, 49.18, -73.67)
CIE-LCHlch(39.49, 88.58, 303.72°)
OKLaboklab(49.95% 0.041 -0.2123)
OKLCHoklch(49.95% 0.216 280.9)
XYZxyz(18.2357, 10.9493, 66.1049)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643D8 #C5D843
analogous
#437AD8 #5643D8 #A043D8
triadic
#5643D8 #D85643 #43D856
tetradic
#5643D8 #D8437A #C5D843 #43D8A0
square
#5643D8 #D8437A #C5D843 #43D8A0
split-complementary
#5643D8 #D8A043 #7AD843
monochromatic
#291C85 #3926B8 #5643D8 #8476E3 #B1A8ED

Accessibility & contrast

On white

6.58
#5643D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5643D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643D8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643D8#FFFFFF#000000##FFFFFF
##5643D81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0057D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5643d8;
/* rgb */ color: rgb(86, 67, 216);
/* oklch */ color: oklch(50.0% 0.216 280.9);
Tailwind
colors: {
  custom: {
    50: '#9379e5',
    500: '#5643d8',
    950: '#000000',
  },
}
SCSS
$custom: #5643d8;
$custom-light: #9379e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5643d8",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 247.651,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.21624,
    "h": 280.9
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#5643D8
secondary
#D3DA9C
accent
#E93FD3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5643D8

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

Preview Lab → · Contrast checker → · Palette generator →

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