#5670BC#5670BC

#5670BC is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.122 H 268.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5670BC
RGBrgb(86, 112, 188)
HSLhsl(225, 43%, 54%)
HSVhsv(225, 54%, 74%)
CMYKcmyk(54.3%, 40.4%, 0%, 26.3%)
CIE-LABlab(48.51, 12.79, -42.98)
CIE-LCHlch(48.51, 44.84, 286.58°)
OKLaboklab(56.06% -0.0041 -0.1219)
OKLCHoklch(56.06% 0.122 268.1)
XYZxyz(18.7060, 17.1963, 49.9007)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670BC #BCA256
analogous
#56A3BC #5670BC #6F56BC
triadic
#5670BC #BC5670 #70BC56
tetradic
#5670BC #BC56A3 #BCA256 #56BC6F
square
#5670BC #BC56A3 #BCA256 #56BC6F
split-complementary
#5670BC #BC6F56 #A3BC56
monochromatic
#2B3C6D #3C5498 #5670BC #8295CD #AEBADF

Accessibility & contrast

On white

4.73
#5670BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5670BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5670BC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670BC#FFFFFF#000000##FFFFFF
##5670BC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#20818D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5670bc;
/* rgb */ color: rgb(86, 112, 188);
/* oklch */ color: oklch(56.1% 0.122 268.1);
Tailwind
colors: {
  custom: {
    50: '#8d98d0',
    500: '#5670bc',
    950: '#000000',
  },
}
SCSS
$custom: #5670bc;
$custom-light: #8d98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5670bc",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 224.706,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.12194,
    "h": 268.1
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#5670BC
secondary
#CDC2A1
accent
#B355D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5670BC

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

Preview Lab → · Contrast checker → · Palette generator →

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