#5671B4#5671B4

#5671B4 is a mid, moderate blue. Relative luminance 0.171; OKLCH L 55.8% C 0.109 H 266.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5671B4
RGBrgb(86, 113, 180)
HSLhsl(223, 39%, 52%)
HSVhsv(223, 52%, 71%)
CMYKcmyk(52.2%, 37.2%, 0%, 29.4%)
CIE-LABlab(48.36, 9.59, -38.58)
CIE-LCHlch(48.36, 39.75, 283.95°)
OKLaboklab(55.81% -0.007 -0.109)
OKLCHoklch(55.81% 0.109 266.3)
XYZxyz(17.9784, 17.0827, 45.5211)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671B4 #B49956
analogous
#56A0B4 #5671B4 #6A56B4
triadic
#5671B4 #B45671 #71B456
tetradic
#5671B4 #B456A0 #B49956 #56B46A
square
#5671B4 #B456A0 #B49956 #56B46A
split-complementary
#5671B4 #B46A56 #A0B456
monochromatic
#2C3C63 #3F568E #5671B4 #8095C7 #ABB8DA

Accessibility & contrast

On white

4.75
#5671B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5671B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5671B4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671B4#FFFFFF#000000##FFFFFF
##5671B41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B7
Deuteranopia (green-blind)
#4C6FB3
Tritanopia (blue-blind)
#297F8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5671b4;
/* rgb */ color: rgb(86, 113, 180);
/* oklch */ color: oklch(55.8% 0.109 266.3);
Tailwind
colors: {
  custom: {
    50: '#8b99cb',
    500: '#5671b4',
    950: '#000000',
  },
}
SCSS
$custom: #5671b4;
$custom-light: #8b99cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5671b4",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 222.766,
    "s": 38.525,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.10922,
    "h": 266.3
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

primary
#5671B4
secondary
#C7BC9E
accent
#AD59CE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #5671B4

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

Preview Lab → · Contrast checker → · Palette generator →

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