#5672BA#5672BA

#5672BA is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.4% C 0.117 H 266.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5672BA
RGBrgb(86, 114, 186)
HSLhsl(223, 42%, 53%)
HSVhsv(223, 54%, 73%)
CMYKcmyk(53.8%, 38.7%, 0%, 27.1%)
CIE-LABlab(48.95, 10.91, -41.12)
CIE-LCHlch(48.95, 42.54, 284.86°)
OKLaboklab(56.37% -0.0068 -0.1164)
OKLCHoklch(56.37% 0.117 266.6)
XYZxyz(18.7150, 17.5569, 48.8475)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5672BA #BA9E56
analogous
#56A4BA #5672BA #6C56BA
triadic
#5672BA #BA5672 #72BA56
tetradic
#5672BA #BA56A4 #BA9E56 #56BA6C
square
#5672BA #BA56A4 #BA9E56 #56BA6C
split-complementary
#5672BA #BA6C56 #A4BA56
monochromatic
#2B3D6A #3D5696 #5672BA #8196CC #ADBBDD

Accessibility & contrast

On white

4.65
#5672BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5672BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5672BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5672BA#FFFFFF#000000##FFFFFF
##5672BA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BD
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#22828D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5672ba;
/* rgb */ color: rgb(86, 114, 186);
/* oklch */ color: oklch(56.4% 0.117 266.6);
Tailwind
colors: {
  custom: {
    50: '#8c9acf',
    500: '#5672ba',
    950: '#000000',
  },
}
SCSS
$custom: #5672ba;
$custom-light: #8c9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#5672ba",
  "rgb": {
    "r": 86,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 223.2,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.1166,
    "h": 266.6
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#5672BA
secondary
#CBBFA0
accent
#AF56D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5672BA

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

Preview Lab → · Contrast checker → · Palette generator →

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