#5671EF#5671EF

#5671EF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.191 H 270.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5671EF
RGBrgb(86, 113, 239)
HSLhsl(229, 83%, 64%)
HSVhsv(229, 64%, 94%)
CMYKcmyk(64%, 52.7%, 0%, 6.3%)
CIE-LABlab(51.86, 29.22, -66.56)
CIE-LCHlch(51.86, 72.69, 293.70°)
OKLaboklab(59.6% 0.0016 -0.1911)
OKLCHoklch(59.6% 0.191 270.5)
XYZxyz(25.3176, 20.0184, 84.1743)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671EF #EFD456
analogous
#56BDEF #5671EF #8756EF
triadic
#5671EF #EF5671 #71EF56
tetradic
#5671EF #EF56BD #EFD456 #56EF87
square
#5671EF #EF56BD #EFD456 #56EF87
split-complementary
#5671EF #EF8756 #BDEF56
monochromatic
#122FB9 #1E42EA #5671EF #8EA0F4 #C6CFFA

Accessibility & contrast

On white

4.20
#5671EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5671EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671EF#FFFFFF#000000##000000
##5671EF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B83F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5671ef;
/* rgb */ color: rgb(86, 113, 239);
/* oklch */ color: oklch(59.6% 0.191 270.5);
Tailwind
colors: {
  custom: {
    50: '#9499f5',
    500: '#5671ef',
    950: '#000000',
  },
}
SCSS
$custom: #5671ef;
$custom-light: #9499f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5671ef",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 229.412,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.19115,
    "h": 270.5
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#5671EF
secondary
#EBE2B5
accent
#B906DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5671EF

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

Preview Lab → · Contrast checker → · Palette generator →

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