#5676CC#5676CC

#5676CC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.137 H 266.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5676CC
RGBrgb(86, 118, 204)
HSLhsl(224, 54%, 57%)
HSVhsv(224, 58%, 80%)
CMYKcmyk(57.8%, 42.2%, 0%, 20%)
CIE-LABlab(51.03, 14.37, -48.15)
CIE-LCHlch(51.03, 50.25, 286.62°)
OKLaboklab(58.28% -0.0077 -0.1369)
OKLCHoklch(58.28% 0.137 266.8)
XYZxyz(21.2116, 19.2932, 59.7212)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676CC #CCAC56
analogous
#56B1CC #5676CC #7156CC
triadic
#5676CC #CC5676 #76CC56
tetradic
#5676CC #CC56B1 #CCAC56 #56CC71
square
#5676CC #CC56B1 #CCAC56 #56CC71
split-complementary
#5676CC #CC7156 #B1CC56
monochromatic
#273F81 #3556B0 #5676CC #859CDA #B4C2E8

Accessibility & contrast

On white

4.32
#5676CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5676CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676CC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676CC#FFFFFF#000000##000000
##5676CC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5676cc;
/* rgb */ color: rgb(86, 118, 204);
/* oklch */ color: oklch(58.3% 0.137 266.8);
Tailwind
colors: {
  custom: {
    50: '#8f9ddc',
    500: '#5676cc',
    950: '#000000',
  },
}
SCSS
$custom: #5676cc;
$custom-light: #8f9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5676cc",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 223.729,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.13717,
    "h": 266.8
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#5676CC
secondary
#D7CAA7
accent
#B54BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5676CC

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

Preview Lab → · Contrast checker → · Palette generator →

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