#5671CC#5671CC

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

Color values

HEX#5671CC
RGBrgb(86, 113, 204)
HSLhsl(226, 54%, 57%)
HSVhsv(226, 58%, 80%)
CMYKcmyk(57.8%, 44.6%, 0%, 20%)
CIE-LABlab(49.67, 17.45, -50.31)
CIE-LCHlch(49.67, 53.25, 289.13°)
OKLaboklab(57.24% -0.0023 -0.1433)
OKLCHoklch(57.24% 0.143 269.1)
XYZxyz(20.6383, 18.1467, 59.5301)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671CC #CCB156
analogous
#56ACCC #5671CC #7656CC
triadic
#5671CC #CC5671 #71CC56
tetradic
#5671CC #CC56AC #CCB156 #56CC76
square
#5671CC #CC56AC #CCB156 #56CC76
split-complementary
#5671CC #CC7656 #ACCC56
monochromatic
#273B81 #3551B0 #5671CC #8599DA #B4C0E8

Accessibility & contrast

On white

4.54
#5671CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5671CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671CC#FFFFFF#000000##000000
##5671CC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CCF
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5671cc;
/* rgb */ color: rgb(86, 113, 204);
/* oklch */ color: oklch(57.2% 0.143 269.1);
Tailwind
colors: {
  custom: {
    50: '#8f99dc',
    500: '#5671cc',
    950: '#000000',
  },
}
SCSS
$custom: #5671cc;
$custom-light: #8f99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5671cc",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 226.271,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.14337,
    "h": 269.1
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#5671CC
secondary
#D7CCA7
accent
#BC4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5671CC

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

Preview Lab → · Contrast checker → · Palette generator →

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