#5643DF#5643DF

#5643DF is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.6% C 0.225 H 280.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5643DF
RGBrgb(86, 67, 223)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 70%, 87%)
CMYKcmyk(61.4%, 70%, 0%, 12.5%)
CIE-LABlab(40.11, 51.31, -76.66)
CIE-LCHlch(40.11, 92.25, 303.79°)
OKLaboklab(50.58% 0.0398 -0.2211)
OKLCHoklch(50.58% 0.225 280.2)
XYZxyz(19.1600, 11.3190, 70.9729)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643DF #CCDF43
analogous
#437EDF #5643DF #A443DF
triadic
#5643DF #DF5643 #43DF56
tetradic
#5643DF #DF437E #CCDF43 #43DFA4
square
#5643DF #DF437E #CCDF43 #43DFA4
split-complementary
#5643DF #DFA443 #7EDF43
monochromatic
#27188F #3521C4 #5643DF #8577E8 #B4ACF1

Accessibility & contrast

On white

6.43
#5643DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5643DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643DF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643DF#FFFFFF#000000##FFFFFF
##5643DF1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5643df;
/* rgb */ color: rgb(86, 67, 223);
/* oklch */ color: oklch(50.6% 0.225 280.2);
Tailwind
colors: {
  custom: {
    50: '#9579ea',
    500: '#5643df',
    950: '#000000',
  },
}
SCSS
$custom: #5643df;
$custom-light: #9579ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5643df",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 247.308,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.22464,
    "h": 280.2
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

primary
#5643DF
secondary
#D7DF9F
accent
#EE3AD8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5643DF

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

Preview Lab → · Contrast checker → · Palette generator →

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