#5643D5#5643D5

#5643D5 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.7% C 0.213 H 281.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5643D5
RGBrgb(86, 67, 213)
HSLhsl(248, 63%, 55%)
HSVhsv(248, 69%, 84%)
CMYKcmyk(59.6%, 68.5%, 0%, 16.5%)
CIE-LABlab(39.23, 48.26, -72.37)
CIE-LCHlch(39.23, 86.99, 303.70°)
OKLaboklab(49.69% 0.0415 -0.2085)
OKLCHoklch(49.69% 0.213 281.3)
XYZxyz(17.8514, 10.7956, 64.0810)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643D5 #C2D543
analogous
#4379D5 #5643D5 #9F43D5
triadic
#5643D5 #D55643 #43D556
tetradic
#5643D5 #D54379 #C2D543 #43D59F
square
#5643D5 #D54379 #C2D543 #43D59F
split-complementary
#5643D5 #D59F43 #79D543
monochromatic
#2A1D81 #3A28B3 #5643D5 #8375E0 #B0A7EB

Accessibility & contrast

On white

6.65
#5643D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5643D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643D5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643D5#FFFFFF#000000##FFFFFF
##5643D51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5643d5;
/* rgb */ color: rgb(86, 67, 213);
/* oklch */ color: oklch(49.7% 0.213 281.3);
Tailwind
colors: {
  custom: {
    50: '#9379e3',
    500: '#5643d5',
    950: '#000000',
  },
}
SCSS
$custom: #5643d5;
$custom-light: #9379e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5643d5",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 247.808,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.21261,
    "h": 281.3
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#5643D5
secondary
#D1D99B
accent
#E741D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5643D5

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

Preview Lab → · Contrast checker → · Palette generator →

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