#5670B2#5670B2

#5670B2 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.108 H 266.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5670B2
RGBrgb(86, 112, 178)
HSLhsl(223, 37%, 52%)
HSVhsv(223, 52%, 70%)
CMYKcmyk(51.7%, 37.1%, 0%, 30.2%)
CIE-LABlab(47.98, 9.56, -38.02)
CIE-LCHlch(47.98, 39.20, 284.11°)
OKLaboklab(55.48% -0.0063 -0.1074)
OKLCHoklch(55.48% 0.108 266.6)
XYZxyz(17.6652, 16.7799, 44.4188)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670B2 #B29856
analogous
#569EB2 #5670B2 #6A56B2
triadic
#5670B2 #B25670 #70B256
tetradic
#5670B2 #B2569E #B29856 #56B26A
square
#5670B2 #B2569E #B29856 #56B26A
split-complementary
#5670B2 #B26A56 #9EB256
monochromatic
#2C3B61 #3F558B #5670B2 #8094C5 #AAB7D8

Accessibility & contrast

On white

4.82
#5670B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5670B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5670B2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670B2#FFFFFF#000000##FFFFFF
##5670B21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#2C7E88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5670b2;
/* rgb */ color: rgb(86, 112, 178);
/* oklch */ color: oklch(55.5% 0.108 266.6);
Tailwind
colors: {
  custom: {
    50: '#8b98c9',
    500: '#5670b2',
    950: '#000000',
  },
}
SCSS
$custom: #5670b2;
$custom-light: #8b98c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5670b2",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 223.043,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.10755,
    "h": 266.6
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#5670B2
secondary
#C6BB9E
accent
#AD5ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #5670B2

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

Preview Lab → · Contrast checker → · Palette generator →

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