#5676F4#5676F4

#5676F4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.192 H 269.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5676F4
RGBrgb(86, 118, 244)
HSLhsl(228, 88%, 65%)
HSVhsv(228, 65%, 96%)
CMYKcmyk(64.8%, 51.6%, 0%, 4.3%)
CIE-LABlab(53.45, 27.84, -66.77)
CIE-LCHlch(53.45, 72.34, 292.64°)
OKLaboklab(60.91% -0.0025 -0.1917)
OKLCHoklch(60.91% 0.192 269.3)
XYZxyz(26.6398, 21.4645, 88.3096)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676F4 #F4D456
analogous
#56C5F4 #5676F4 #8556F4
triadic
#5676F4 #F45676 #76F456
tetradic
#5676F4 #F456C5 #F4D456 #56F485
square
#5676F4 #F456C5 #F4D456 #56F485
split-complementary
#5676F4 #F48556 #C5F456
monochromatic
#0D32C3 #1D47F0 #5676F4 #8FA5F8 #C9D3FB

Accessibility & contrast

On white

3.97
#5676F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5676F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676F4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676F4#FFFFFF#000000##000000
##5676F41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F8
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5676f4;
/* rgb */ color: rgb(86, 118, 244);
/* oklch */ color: oklch(60.9% 0.192 269.3);
Tailwind
colors: {
  custom: {
    50: '#959df8',
    500: '#5676f4',
    950: '#000000',
  },
}
SCSS
$custom: #5676f4;
$custom-light: #959df8;
$custom-dark: #000000;
JSON
{
  "hex": "#5676f4",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 244
  },
  "hsl": {
    "h": 227.848,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.1917,
    "h": 269.3
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#5676F4
secondary
#EEE3B8
accent
#B601E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5676F4

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

Preview Lab → · Contrast checker → · Palette generator →

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