#5643D6#5643D6

#5643D6 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.214 H 281.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5643D6
RGBrgb(86, 67, 214)
HSLhsl(248, 64%, 55%)
HSVhsv(248, 69%, 84%)
CMYKcmyk(59.8%, 68.7%, 0%, 16.1%)
CIE-LABlab(39.32, 48.57, -72.81)
CIE-LCHlch(39.32, 87.52, 303.71°)
OKLaboklab(49.77% 0.0413 -0.2098)
OKLCHoklch(49.77% 0.214 281.1)
XYZxyz(17.9787, 10.8465, 64.7515)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643D6 #C3D643
analogous
#437AD6 #5643D6 #9F43D6
triadic
#5643D6 #D65643 #43D656
tetradic
#5643D6 #D6437A #C3D643 #43D69F
square
#5643D6 #D6437A #C3D643 #43D69F
split-complementary
#5643D6 #D69F43 #7AD643
monochromatic
#2A1C82 #3A27B4 #5643D6 #8375E1 #B0A7EC

Accessibility & contrast

On white

6.63
#5643D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5643D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643D6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643D6#FFFFFF#000000##FFFFFF
##5643D61.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5643d6;
/* rgb */ color: rgb(86, 67, 214);
/* oklch */ color: oklch(49.8% 0.214 281.1);
Tailwind
colors: {
  custom: {
    50: '#9379e4',
    500: '#5643d6',
    950: '#000000',
  },
}
SCSS
$custom: #5643d6;
$custom-light: #9379e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5643d6",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 214
  },
  "hsl": {
    "h": 247.755,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49773,
    "c": 0.21382,
    "h": 281.1
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#5643D6
secondary
#D1D99C
accent
#E741D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5643D6

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

Preview Lab → · Contrast checker → · Palette generator →

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