#5671E5#5671E5

#5671E5 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.178 H 270.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5671E5
RGBrgb(86, 113, 229)
HSLhsl(229, 73%, 62%)
HSVhsv(229, 62%, 90%)
CMYKcmyk(62.4%, 50.7%, 0%, 10.2%)
CIE-LABlab(51.20, 25.84, -62.02)
CIE-LCHlch(51.20, 67.19, 292.62°)
OKLaboklab(58.9% 0.0008 -0.1778)
OKLCHoklch(58.9% 0.178 270.3)
XYZxyz(23.8810, 19.4438, 76.6081)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671E5 #E5CA56
analogous
#56B9E5 #5671E5 #8356E5
triadic
#5671E5 #E55671 #71E556
tetradic
#5671E5 #E556B9 #E5CA56 #56E583
square
#5671E5 #E556B9 #E5CA56 #56E583
split-complementary
#5671E5 #E58356 #B9E556
monochromatic
#1A34A7 #2245DC #5671E5 #8B9EED #C0CAF5

Accessibility & contrast

On white

4.30
#5671E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5671E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671E5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671E5#FFFFFF#000000##000000
##5671E51.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5671e5;
/* rgb */ color: rgb(86, 113, 229);
/* oklch */ color: oklch(58.9% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#9399ee',
    500: '#5671e5',
    950: '#000000',
  },
}
SCSS
$custom: #5671e5;
$custom-light: #9399ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5671e5",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 228.671,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.17777,
    "h": 270.3
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5671E5

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

Preview Lab → · Contrast checker → · Palette generator →

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