#5643D2#5643D2

#5643D2 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.209 H 281.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5643D2
RGBrgb(86, 67, 210)
HSLhsl(248, 61%, 54%)
HSVhsv(248, 68%, 82%)
CMYKcmyk(59%, 68.1%, 0%, 17.6%)
CIE-LABlab(38.98, 47.34, -71.07)
CIE-LCHlch(38.98, 85.39, 303.67°)
OKLaboklab(49.42% 0.042 -0.2047)
OKLCHoklch(49.42% 0.209 281.6)
XYZxyz(17.4741, 10.6447, 62.0941)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643D2 #BFD243
analogous
#4378D2 #5643D2 #9E43D2
triadic
#5643D2 #D25643 #43D256
tetradic
#5643D2 #D24378 #BFD243 #43D29E
square
#5643D2 #D24378 #BFD243 #43D29E
split-complementary
#5643D2 #D29E43 #78D243
monochromatic
#2A1E7D #3B2AAE #5643D2 #8274DE #AFA6EA

Accessibility & contrast

On white

6.71
#5643D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5643D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643D2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643D2#FFFFFF#000000##FFFFFF
##5643D21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5643d2;
/* rgb */ color: rgb(86, 67, 210);
/* oklch */ color: oklch(49.4% 0.209 281.6);
Tailwind
colors: {
  custom: {
    50: '#9279e1',
    500: '#5643d2',
    950: '#000000',
  },
}
SCSS
$custom: #5643d2;
$custom-light: #9279e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5643d2",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 247.972,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.20896,
    "h": 281.6
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#5643D2
secondary
#CFD79A
accent
#E443CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5643D2

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

Preview Lab → · Contrast checker → · Palette generator →

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