#5671E4#5671E4

#5671E4 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.176 H 270.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5671E4
RGBrgb(86, 113, 228)
HSLhsl(229, 72%, 62%)
HSVhsv(229, 62%, 89%)
CMYKcmyk(62.3%, 50.4%, 0%, 10.6%)
CIE-LABlab(51.14, 25.50, -61.56)
CIE-LCHlch(51.14, 66.63, 292.50°)
OKLaboklab(58.83% 0.0007 -0.1764)
OKLCHoklch(58.83% 0.176 270.2)
XYZxyz(23.7418, 19.3881, 75.8749)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671E4 #E4C956
analogous
#56B8E4 #5671E4 #8256E4
triadic
#5671E4 #E45671 #71E456
tetradic
#5671E4 #E456B8 #E4C956 #56E482
square
#5671E4 #E456B8 #E4C956 #56E482
split-complementary
#5671E4 #E48256 #B8E456
monochromatic
#1A35A5 #2346DA #5671E4 #8B9DEC #C0CAF5

Accessibility & contrast

On white

4.31
#5671E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5671E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671E4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671E4#FFFFFF#000000##000000
##5671E41.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3080E8
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5671e4;
/* rgb */ color: rgb(86, 113, 228);
/* oklch */ color: oklch(58.8% 0.176 270.2);
Tailwind
colors: {
  custom: {
    50: '#9399ed',
    500: '#5671e4',
    950: '#000000',
  },
}
SCSS
$custom: #5671e4;
$custom-light: #9399ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5671e4",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 228.592,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.17642,
    "h": 270.2
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#5671E4
secondary
#E5DBB0
accent
#AF11D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5671E4

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

Preview Lab → · Contrast checker → · Palette generator →

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