#5643D1#5643D1

#5643D1 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.208 H 281.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5643D1
RGBrgb(86, 67, 209)
HSLhsl(248, 61%, 54%)
HSVhsv(248, 68%, 82%)
CMYKcmyk(58.9%, 67.9%, 0%, 18%)
CIE-LABlab(38.89, 47.04, -70.63)
CIE-LCHlch(38.89, 84.86, 303.66°)
OKLaboklab(49.33% 0.0421 -0.2034)
OKLCHoklch(49.33% 0.208 281.7)
XYZxyz(17.3499, 10.5950, 61.4400)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643D1 #BED143
analogous
#4377D1 #5643D1 #9D43D1
triadic
#5643D1 #D15643 #43D156
tetradic
#5643D1 #D14377 #BED143 #43D19D
square
#5643D1 #D14377 #BED143 #43D19D
split-complementary
#5643D1 #D19D43 #77D143
monochromatic
#2B1E7B #3C2AAD #5643D1 #8274DD #AEA5E9

Accessibility & contrast

On white

6.73
#5643D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5643D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643D1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643D1#FFFFFF#000000##FFFFFF
##5643D11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5643d1;
/* rgb */ color: rgb(86, 67, 209);
/* oklch */ color: oklch(49.3% 0.208 281.7);
Tailwind
colors: {
  custom: {
    50: '#9279e0',
    500: '#5643d1',
    950: '#000000',
  },
}
SCSS
$custom: #5643d1;
$custom-light: #9279e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5643d1",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 248.028,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.20773,
    "h": 281.7
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#5643D1
secondary
#CED69A
accent
#E444CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5643D1

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

Preview Lab → · Contrast checker → · Palette generator →

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