#5643CA#5643CA

#5643CA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.7% C 0.199 H 282.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5643CA
RGBrgb(86, 67, 202)
HSLhsl(248, 56%, 53%)
HSVhsv(248, 67%, 79%)
CMYKcmyk(57.4%, 66.8%, 0%, 20.8%)
CIE-LABlab(38.30, 44.89, -67.55)
CIE-LCHlch(38.30, 81.11, 303.61°)
OKLaboklab(48.72% 0.0431 -0.1944)
OKLCHoklch(48.72% 0.199 282.5)
XYZxyz(16.5023, 10.2559, 56.9757)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643CA #B7CA43
analogous
#4374CA #5643CA #9943CA
triadic
#5643CA #CA5643 #43CA56
tetradic
#5643CA #CA4374 #B7CA43 #43CA99
square
#5643CA #CA4374 #B7CA43 #43CA99
split-complementary
#5643CA #CA9943 #74CA43
monochromatic
#2C2072 #3E2EA2 #5643CA #8173D7 #ACA2E5

Accessibility & contrast

On white

6.88
#5643CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5643CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643CA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643CA#FFFFFF#000000##FFFFFF
##5643CA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#146681
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5643ca;
/* rgb */ color: rgb(86, 67, 202);
/* oklch */ color: oklch(48.7% 0.199 282.5);
Tailwind
colors: {
  custom: {
    50: '#9179db',
    500: '#5643ca',
    950: '#000000',
  },
}
SCSS
$custom: #5643ca;
$custom-light: #9179db;
$custom-dark: #000000;
JSON
{
  "hex": "#5643ca",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 248.444,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.19909,
    "h": 282.5
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#5643CA
secondary
#C9D297
accent
#DF48CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5643CA

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

Preview Lab → · Contrast checker → · Palette generator →

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