#5670A2#5670A2

#5670A2 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.6% C 0.084 H 262.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5670A2
RGBrgb(86, 112, 162)
HSLhsl(219, 31%, 49%)
HSVhsv(219, 47%, 64%)
CMYKcmyk(46.9%, 30.9%, 0%, 36.5%)
CIE-LABlab(47.20, 4.52, -29.90)
CIE-LCHlch(47.20, 30.24, 278.60°)
OKLaboklab(54.62% -0.0105 -0.0838)
OKLCHoklch(54.62% 0.084 262.8)
XYZxyz(16.1514, 16.1744, 36.4463)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670A2 #A28856
analogous
#5696A2 #5670A2 #6256A2
triadic
#5670A2 #A25670 #70A256
tetradic
#5670A2 #A25696 #A28856 #56A262
square
#5670A2 #A25696 #A28856 #56A262
split-complementary
#5670A2 #A26256 #96A256
monochromatic
#2C3952 #41547A #5670A2 #7C91B9 #A4B2CF

Accessibility & contrast

On white

4.96
#5670A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5670A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5670A2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670A2#FFFFFF#000000##FFFFFF
##5670A21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#387B82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5670a2;
/* rgb */ color: rgb(86, 112, 162);
/* oklch */ color: oklch(54.6% 0.084 262.8);
Tailwind
colors: {
  custom: {
    50: '#8998bd',
    500: '#5670a2',
    950: '#000000',
  },
}
SCSS
$custom: #5670a2;
$custom-light: #8998bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5670a2",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 219.474,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.08444,
    "h": 262.8
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#5670A2
secondary
#BCB098
accent
#A461C7
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #5670A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5670A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva