#5671E7#5671E7

#5671E7 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.0% C 0.180 H 270.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5671E7
RGBrgb(86, 113, 231)
HSLhsl(229, 75%, 62%)
HSVhsv(229, 63%, 91%)
CMYKcmyk(62.8%, 51.1%, 0%, 9.4%)
CIE-LABlab(51.33, 26.52, -62.93)
CIE-LCHlch(51.33, 68.29, 292.85°)
OKLaboklab(59.04% 0.001 -0.1805)
OKLCHoklch(59.04% 0.18 270.3)
XYZxyz(24.1618, 19.5561, 78.0872)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671E7 #E7CC56
analogous
#56B9E7 #5671E7 #8456E7
triadic
#5671E7 #E75671 #71E756
tetradic
#5671E7 #E756B9 #E7CC56 #56E784
square
#5671E7 #E756B9 #E7CC56 #56E784
split-complementary
#5671E7 #E78456 #B9E756
monochromatic
#1833AA #2044DF #5671E7 #8C9EEF #C1CBF6

Accessibility & contrast

On white

4.28
#5671E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5671E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671E7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671E7#FFFFFF#000000##000000
##5671E71.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5671e7;
/* rgb */ color: rgb(86, 113, 231);
/* oklch */ color: oklch(59.0% 0.180 270.3);
Tailwind
colors: {
  custom: {
    50: '#9399ef',
    500: '#5671e7',
    950: '#000000',
  },
}
SCSS
$custom: #5671e7;
$custom-light: #9399ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5671e7",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 228.828,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.18046,
    "h": 270.3
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#5671E7
secondary
#E7DDB2
accent
#B20ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5671E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5671E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva