#5671EC#5671EC

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

Color values

HEX#5671EC
RGBrgb(86, 113, 236)
HSLhsl(229, 80%, 63%)
HSVhsv(229, 64%, 93%)
CMYKcmyk(63.6%, 52.1%, 0%, 7.5%)
CIE-LABlab(51.66, 28.20, -65.21)
CIE-LCHlch(51.66, 71.04, 293.39°)
OKLaboklab(59.39% 0.0014 -0.1871)
OKLCHoklch(59.39% 0.187 270.4)
XYZxyz(24.8781, 19.8426, 81.8596)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671EC #ECD156
analogous
#56BCEC #5671EC #8656EC
triadic
#5671EC #EC5671 #71EC56
tetradic
#5671EC #EC56BC #ECD156 #56EC86
square
#5671EC #EC56BC #ECD156 #56EC86
split-complementary
#5671EC #EC8656 #BCEC56
monochromatic
#1431B3 #1F43E6 #5671EC #8D9FF2 #C4CDF8

Accessibility & contrast

On white

4.23
#5671EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5671EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671EC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671EC#FFFFFF#000000##000000
##5671EC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5671ec;
/* rgb */ color: rgb(86, 113, 236);
/* oklch */ color: oklch(59.4% 0.187 270.4);
Tailwind
colors: {
  custom: {
    50: '#9499f3',
    500: '#5671ec',
    950: '#000000',
  },
}
SCSS
$custom: #5671ec;
$custom-light: #9499f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5671ec",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 229.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.18716,
    "h": 270.4
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#5671EC
secondary
#EAE0B4
accent
#B609DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5671EC

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

Preview Lab → · Contrast checker → · Palette generator →

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