#5671E1#5671E1

#5671E1 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.172 H 270.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5671E1
RGBrgb(86, 113, 225)
HSLhsl(228, 70%, 61%)
HSVhsv(228, 62%, 88%)
CMYKcmyk(61.8%, 49.8%, 0%, 11.8%)
CIE-LABlab(50.95, 24.49, -60.18)
CIE-LCHlch(50.95, 64.97, 292.15°)
OKLaboklab(58.62% 0.0004 -0.1724)
OKLCHoklch(58.62% 0.172 270.1)
XYZxyz(23.3289, 19.2229, 73.7006)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671E1 #E1C656
analogous
#56B6E1 #5671E1 #8056E1
triadic
#5671E1 #E15671 #71E156
tetradic
#5671E1 #E156B6 #E1C656 #56E180
square
#5671E1 #E156B6 #E1C656 #56E180
split-complementary
#5671E1 #E18056 #B6E156
monochromatic
#1C36A0 #2648D4 #5671E1 #8A9DEA #BEC8F3

Accessibility & contrast

On white

4.33
#5671E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5671E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671E1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671E1#FFFFFF#000000##000000
##5671E11.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E5
Deuteranopia (green-blind)
#0F73DF
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5671e1;
/* rgb */ color: rgb(86, 113, 225);
/* oklch */ color: oklch(58.6% 0.172 270.1);
Tailwind
colors: {
  custom: {
    50: '#9299eb',
    500: '#5671e1',
    950: '#000000',
  },
}
SCSS
$custom: #5671e1;
$custom-light: #9299eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5671e1",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 228.345,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58624,
    "c": 0.17236,
    "h": 270.1
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#5671E1
secondary
#E4D9AF
accent
#AD14D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5671E1

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

Preview Lab → · Contrast checker → · Palette generator →

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