#5674BA#5674BA

#5674BA is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.8% C 0.114 H 265.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5674BA
RGBrgb(86, 116, 186)
HSLhsl(222, 42%, 53%)
HSVhsv(222, 54%, 73%)
CMYKcmyk(53.8%, 37.6%, 0%, 27.1%)
CIE-LABlab(49.51, 9.68, -40.23)
CIE-LCHlch(49.51, 41.38, 283.53°)
OKLaboklab(56.8% -0.0092 -0.1138)
OKLCHoklch(56.8% 0.114 265.4)
XYZxyz(18.9431, 18.0130, 48.9235)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674BA #BA9C56
analogous
#56A6BA #5674BA #6A56BA
triadic
#5674BA #BA5674 #74BA56
tetradic
#5674BA #BA56A6 #BA9C56 #56BA6A
square
#5674BA #BA56A6 #BA9C56 #56BA6A
split-complementary
#5674BA #BA6A56 #A6BA56
monochromatic
#2B3E6A #3D5896 #5674BA #8198CC #ADBBDD

Accessibility & contrast

On white

4.56
#5674BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5674BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674BA#FFFFFF#000000##000000
##5674BA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBD
Deuteranopia (green-blind)
#4C72B8
Tritanopia (blue-blind)
#22838E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5674ba;
/* rgb */ color: rgb(86, 116, 186);
/* oklch */ color: oklch(56.8% 0.114 265.4);
Tailwind
colors: {
  custom: {
    50: '#8c9bcf',
    500: '#5674ba',
    950: '#000000',
  },
}
SCSS
$custom: #5674ba;
$custom-light: #8c9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5674ba",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 222,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.568,
    "c": 0.11418,
    "h": 265.4
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

primary
#5674BA
secondary
#CBBEA0
accent
#AD56D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5674BA

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

Preview Lab → · Contrast checker → · Palette generator →

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