#5676D4#5676D4

#5676D4 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.8% C 0.148 H 267.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5676D4
RGBrgb(86, 118, 212)
HSLhsl(225, 59%, 58%)
HSVhsv(225, 59%, 83%)
CMYKcmyk(59.4%, 44.3%, 0%, 16.9%)
CIE-LABlab(51.48, 17.04, -51.97)
CIE-LCHlch(51.48, 54.69, 288.15°)
OKLaboklab(58.78% -0.0063 -0.1482)
OKLCHoklch(58.78% 0.148 267.6)
XYZxyz(22.1958, 19.6869, 64.9049)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676D4 #D4B456
analogous
#56B5D4 #5676D4 #7556D4
triadic
#5676D4 #D45676 #76D456
tetradic
#5676D4 #D456B5 #D4B456 #56D475
square
#5676D4 #D456B5 #D4B456 #56D475
split-complementary
#5676D4 #D47556 #B5D456
monochromatic
#243E8C #3054BD #5676D4 #879EE0 #B8C5ED

Accessibility & contrast

On white

4.25
#5676D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5676D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676D4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676D4#FFFFFF#000000##000000
##5676D41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D8
Deuteranopia (green-blind)
#3875D2
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5676d4;
/* rgb */ color: rgb(86, 118, 212);
/* oklch */ color: oklch(58.8% 0.148 267.6);
Tailwind
colors: {
  custom: {
    50: '#909de2',
    500: '#5676d4',
    950: '#000000',
  },
}
SCSS
$custom: #5676d4;
$custom-light: #909de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5676d4",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 212
  },
  "hsl": {
    "h": 224.762,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.1483,
    "h": 267.6
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#5676D4
secondary
#DCCFAA
accent
#BB45E3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5676D4

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

Preview Lab → · Contrast checker → · Palette generator →

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