#5671BA#5671BA

#5671BA is a mid, moderate blue. Relative luminance 0.173; OKLCH L 56.2% C 0.118 H 267.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5671BA
RGBrgb(86, 113, 186)
HSLhsl(224, 42%, 53%)
HSVhsv(224, 54%, 73%)
CMYKcmyk(53.8%, 39.2%, 0%, 27.1%)
CIE-LABlab(48.68, 11.53, -41.56)
CIE-LCHlch(48.68, 43.12, 285.50°)
OKLaboklab(56.15% -0.0057 -0.1177)
OKLCHoklch(56.15% 0.118 267.2)
XYZxyz(18.6029, 17.3325, 48.8101)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671BA #BA9F56
analogous
#56A3BA #5671BA #6D56BA
triadic
#5671BA #BA5671 #71BA56
tetradic
#5671BA #BA56A3 #BA9F56 #56BA6D
square
#5671BA #BA56A3 #BA9F56 #56BA6D
split-complementary
#5671BA #BA6D56 #A3BA56
monochromatic
#2B3C6A #3D5596 #5671BA #8196CC #ADBADD

Accessibility & contrast

On white

4.70
#5671BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5671BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5671BA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671BA#FFFFFF#000000##FFFFFF
##5671BA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5378BD
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#22818C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5671ba;
/* rgb */ color: rgb(86, 113, 186);
/* oklch */ color: oklch(56.2% 0.118 267.2);
Tailwind
colors: {
  custom: {
    50: '#8c99cf',
    500: '#5671ba',
    950: '#000000',
  },
}
SCSS
$custom: #5671ba;
$custom-light: #8c99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5671ba",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 223.8,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.11783,
    "h": 267.2
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#5671BA
secondary
#CBC0A0
accent
#B056D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0D14
muted
#7D7E82

Preview Lab

Preview with #5671BA

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

Preview Lab → · Contrast checker → · Palette generator →

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