#5671EB#5671EB

#5671EB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.186 H 270.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5671EB
RGBrgb(86, 113, 235)
HSLhsl(229, 79%, 63%)
HSVhsv(229, 63%, 92%)
CMYKcmyk(63.4%, 51.9%, 0%, 7.8%)
CIE-LABlab(51.59, 27.87, -64.75)
CIE-LCHlch(51.59, 70.49, 293.29°)
OKLaboklab(59.32% 0.0013 -0.1858)
OKLCHoklch(59.32% 0.186 270.4)
XYZxyz(24.7332, 19.7847, 81.0966)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671EB #EBD056
analogous
#56BBEB #5671EB #8656EB
triadic
#5671EB #EB5671 #71EB56
tetradic
#5671EB #EB56BB #EBD056 #56EB86
square
#5671EB #EB56BB #EBD056 #56EB86
split-complementary
#5671EB #EB8656 #BBEB56
monochromatic
#1531B2 #1F43E5 #5671EB #8D9FF1 #C3CDF8

Accessibility & contrast

On white

4.24
#5671EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5671EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671EB#FFFFFF#000000##000000
##5671EB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5671eb;
/* rgb */ color: rgb(86, 113, 235);
/* oklch */ color: oklch(59.3% 0.186 270.4);
Tailwind
colors: {
  custom: {
    50: '#9499f2',
    500: '#5671eb',
    950: '#000000',
  },
}
SCSS
$custom: #5671eb;
$custom-light: #9499f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5671eb",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 229.128,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.18582,
    "h": 270.4
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#5671EB
secondary
#E9E0B4
accent
#B50ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5671EB

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

Preview Lab → · Contrast checker → · Palette generator →

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