#5670BA#5670BA

#5670BA is a mid, moderate blue. Relative luminance 0.171; OKLCH L 55.9% C 0.119 H 267.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5670BA
RGBrgb(86, 112, 186)
HSLhsl(224, 42%, 53%)
HSVhsv(224, 54%, 73%)
CMYKcmyk(53.8%, 39.8%, 0%, 27.1%)
CIE-LABlab(48.40, 12.14, -41.99)
CIE-LCHlch(48.40, 43.71, 286.13°)
OKLaboklab(55.94% -0.0045 -0.119)
OKLCHoklch(55.94% 0.119 267.8)
XYZxyz(18.4919, 17.1106, 48.7731)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5670BA #BAA056
analogous
#56A2BA #5670BA #6E56BA
triadic
#5670BA #BA5670 #70BA56
tetradic
#5670BA #BA56A2 #BAA056 #56BA6E
square
#5670BA #BA56A2 #BAA056 #56BA6E
split-complementary
#5670BA #BA6E56 #A2BA56
monochromatic
#2B3C6A #3D5496 #5670BA #8195CC #ADBADD

Accessibility & contrast

On white

4.75
#5670BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5670BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5670BA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5670BA#FFFFFF#000000##FFFFFF
##5670BA1.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)
#5278BD
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#23808C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5670ba;
/* rgb */ color: rgb(86, 112, 186);
/* oklch */ color: oklch(55.9% 0.119 267.8);
Tailwind
colors: {
  custom: {
    50: '#8c98cf',
    500: '#5670ba',
    950: '#000000',
  },
}
SCSS
$custom: #5670ba;
$custom-light: #8c98cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5670ba",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 224.4,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.11908,
    "h": 267.8
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5670BA

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

Preview Lab → · Contrast checker → · Palette generator →

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