#5643C2#5643C2

#5643C2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.0% C 0.189 H 283.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5643C2
RGBrgb(86, 67, 194)
HSLhsl(249, 51%, 51%)
HSVhsv(249, 65%, 76%)
CMYKcmyk(55.7%, 65.5%, 0%, 23.9%)
CIE-LABlab(37.64, 42.44, -63.97)
CIE-LCHlch(37.64, 76.76, 303.56°)
OKLaboklab(48.04% 0.0441 -0.1839)
OKLCHoklch(48.04% 0.189 283.5)
XYZxyz(15.5795, 9.8868, 52.1159)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643C2 #AFC243
analogous
#436FC2 #5643C2 #9543C2
triadic
#5643C2 #C25643 #43C256
tetradic
#5643C2 #C2436F #AFC243 #43C295
square
#5643C2 #C2436F #AFC243 #43C295
split-complementary
#5643C2 #C29543 #6FC243
monochromatic
#2D2269 #403197 #5643C2 #8071D1 #A99FE0

Accessibility & contrast

On white

7.05
#5643C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5643C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643C2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643C2#FFFFFF#000000##FFFFFF
##5643C21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#22637C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5643c2;
/* rgb */ color: rgb(86, 67, 194);
/* oklch */ color: oklch(48.0% 0.189 283.5);
Tailwind
colors: {
  custom: {
    50: '#9078d5',
    500: '#5643c2',
    950: '#000000',
  },
}
SCSS
$custom: #5643c2;
$custom-light: #9078d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5643c2",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 248.976,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.18908,
    "h": 283.5
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#5643C2
secondary
#C4CC94
accent
#DA4DC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5643C2

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

Preview Lab → · Contrast checker → · Palette generator →

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