#5671E6#5671E6

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

Color values

HEX#5671E6
RGBrgb(86, 113, 230)
HSLhsl(229, 74%, 62%)
HSVhsv(229, 63%, 90%)
CMYKcmyk(62.6%, 50.9%, 0%, 9.8%)
CIE-LABlab(51.27, 26.18, -62.47)
CIE-LCHlch(51.27, 67.74, 292.73°)
OKLaboklab(58.97% 0.0009 -0.1791)
OKLCHoklch(58.97% 0.179 270.3)
XYZxyz(24.0210, 19.4998, 77.3455)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671E6 #E6CB56
analogous
#56B9E6 #5671E6 #8356E6
triadic
#5671E6 #E65671 #71E656
tetradic
#5671E6 #E656B9 #E6CB56 #56E683
square
#5671E6 #E656B9 #E6CB56 #56E683
split-complementary
#5671E6 #E68356 #B9E656
monochromatic
#1934A9 #2144DE #5671E6 #8B9EEE #C1CBF6

Accessibility & contrast

On white

4.29
#5671E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5671E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671E6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671E6#FFFFFF#000000##000000
##5671E61.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D81EA
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5671e6;
/* rgb */ color: rgb(86, 113, 230);
/* oklch */ color: oklch(59.0% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#9399ef',
    500: '#5671e6',
    950: '#000000',
  },
}
SCSS
$custom: #5671e6;
$custom-light: #9399ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5671e6",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 228.75,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.17912,
    "h": 270.3
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#5671E6
secondary
#E6DCB1
accent
#B10FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5671E6

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

Preview Lab → · Contrast checker → · Palette generator →

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