#5671CB#5671CB

#5671CB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.142 H 269.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5671CB
RGBrgb(86, 113, 203)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 58%, 80%)
CMYKcmyk(57.6%, 44.3%, 0%, 20.4%)
CIE-LABlab(49.62, 17.12, -49.83)
CIE-LCHlch(49.62, 52.69, 288.96°)
OKLaboklab(57.18% -0.0024 -0.1419)
OKLCHoklch(57.18% 0.142 269)
XYZxyz(20.5188, 18.0989, 58.9005)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671CB #CBB056
analogous
#56ACCB #5671CB #7656CB
triadic
#5671CB #CB5671 #71CB56
tetradic
#5671CB #CB56AC #CBB056 #56CB76
square
#5671CB #CB56AC #CBB056 #56CB76
split-complementary
#5671CB #CB7656 #ACCB56
monochromatic
#273C7F #3651AE #5671CB #8598D9 #B4C0E8

Accessibility & contrast

On white

4.55
#5671CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5671CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671CB#FFFFFF#000000##000000
##5671CB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5671cb;
/* rgb */ color: rgb(86, 113, 203);
/* oklch */ color: oklch(57.2% 0.142 269.0);
Tailwind
colors: {
  custom: {
    50: '#8f99db',
    500: '#5671cb',
    950: '#000000',
  },
}
SCSS
$custom: #5671cb;
$custom-light: #8f99db;
$custom-dark: #000000;
JSON
{
  "hex": "#5671cb",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 226.154,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.14196,
    "h": 269
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#5671CB
secondary
#D6CBA6
accent
#BB4BDC
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5671CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5671CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva