#5643BE#5643BE

#5643BE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.7% C 0.184 H 284.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5643BE
RGBrgb(86, 67, 190)
HSLhsl(249, 49%, 50%)
HSVhsv(249, 65%, 75%)
CMYKcmyk(54.7%, 64.7%, 0%, 25.5%)
CIE-LABlab(37.32, 41.21, -62.15)
CIE-LCHlch(37.32, 74.57, 303.54°)
OKLaboklab(47.71% 0.0446 -0.1785)
OKLCHoklch(47.71% 0.184 284)
XYZxyz(15.1363, 9.7096, 49.7818)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643BE #ABBE43
analogous
#436DBE #5643BE #9343BE
triadic
#5643BE #BE5643 #43BE56
tetradic
#5643BE #BE436D #ABBE43 #43BE93
square
#5643BE #BE436D #ABBE43 #43BE93
split-complementary
#5643BE #BE9343 #6DBE43
monochromatic
#2D2364 #413291 #5643BE #7F70CE #A89EDD

Accessibility & contrast

On white

7.14
#5643BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5643BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643BE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643BE#FFFFFF#000000##FFFFFF
##5643BE1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#27627A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5643be;
/* rgb */ color: rgb(86, 67, 190);
/* oklch */ color: oklch(47.7% 0.184 284.0);
Tailwind
colors: {
  custom: {
    50: '#8f78d3',
    500: '#5643be',
    950: '#000000',
  },
}
SCSS
$custom: #5643be;
$custom-light: #8f78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5643be",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 249.268,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.18401,
    "h": 284
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#5643BE
secondary
#C1CA93
accent
#D850C3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5643BE

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

Preview Lab → · Contrast checker → · Palette generator →

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