#5671E8#5671E8

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

Color values

HEX#5671E8
RGBrgb(86, 113, 232)
HSLhsl(229, 76%, 62%)
HSVhsv(229, 63%, 91%)
CMYKcmyk(62.9%, 51.3%, 0%, 9%)
CIE-LABlab(51.40, 26.85, -63.39)
CIE-LCHlch(51.40, 68.84, 292.96°)
OKLaboklab(59.11% 0.0011 -0.1818)
OKLCHoklch(59.11% 0.182 270.3)
XYZxyz(24.3035, 19.6128, 78.8332)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671E8 #E8CD56
analogous
#56BAE8 #5671E8 #8456E8
triadic
#5671E8 #E85671 #71E856
tetradic
#5671E8 #E856BA #E8CD56 #56E884
square
#5671E8 #E856BA #E8CD56 #56E884
split-complementary
#5671E8 #E88456 #BAE856
monochromatic
#1733AC #2044E1 #5671E8 #8C9EEF #C2CCF7

Accessibility & contrast

On white

4.27
#5671E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5671E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671E8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671E8#FFFFFF#000000##000000
##5671E81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EC
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5671e8;
/* rgb */ color: rgb(86, 113, 232);
/* oklch */ color: oklch(59.1% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#9399f0',
    500: '#5671e8',
    950: '#000000',
  },
}
SCSS
$custom: #5671e8;
$custom-light: #9399f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5671e8",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 228.904,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.1818,
    "h": 270.3
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#5671E8
secondary
#E8DEB2
accent
#B30DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5671E8

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

Preview Lab → · Contrast checker → · Palette generator →

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