#5643D4#5643D4

#5643D4 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.211 H 281.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5643D4
RGBrgb(86, 67, 212)
HSLhsl(248, 63%, 55%)
HSVhsv(248, 68%, 83%)
CMYKcmyk(59.4%, 68.4%, 0%, 16.9%)
CIE-LABlab(39.15, 47.96, -71.94)
CIE-LCHlch(39.15, 86.46, 303.69°)
OKLaboklab(49.6% 0.0417 -0.2072)
OKLCHoklch(49.6% 0.211 281.4)
XYZxyz(17.7248, 10.7450, 63.4146)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643D4 #C1D443
analogous
#4379D4 #5643D4 #9F43D4
triadic
#5643D4 #D45643 #43D456
tetradic
#5643D4 #D44379 #C1D443 #43D49F
square
#5643D4 #D44379 #C1D443 #43D49F
split-complementary
#5643D4 #D49F43 #79D443
monochromatic
#2A1D7F #3A29B1 #5643D4 #8375DF #B0A7EB

Accessibility & contrast

On white

6.67
#5643D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5643D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643D4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643D4#FFFFFF#000000##FFFFFF
##5643D41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5643d4;
/* rgb */ color: rgb(86, 67, 212);
/* oklch */ color: oklch(49.6% 0.211 281.4);
Tailwind
colors: {
  custom: {
    50: '#9379e2',
    500: '#5643d4',
    950: '#000000',
  },
}
SCSS
$custom: #5643d4;
$custom-light: #9379e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5643d4",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 247.862,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49596,
    "c": 0.21139,
    "h": 281.4
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#5643D4
secondary
#D0D89B
accent
#E642D0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5643D4

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

Preview Lab → · Contrast checker → · Palette generator →

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