#5676DE#5676DE

#5676DE is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.4% C 0.162 H 268.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5676DE
RGBrgb(86, 118, 222)
HSLhsl(226, 67%, 60%)
HSVhsv(226, 61%, 87%)
CMYKcmyk(61.3%, 46.8%, 0%, 12.9%)
CIE-LABlab(52.07, 20.40, -56.68)
CIE-LCHlch(52.07, 60.24, 289.79°)
OKLaboklab(59.42% -0.0048 -0.162)
OKLCHoklch(59.42% 0.162 268.3)
XYZxyz(23.4965, 20.2072, 71.7552)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676DE #DEBE56
analogous
#56BADE #5676DE #7A56DE
triadic
#5676DE #DE5676 #76DE56
tetradic
#5676DE #DE56BA #DEBE56 #56DE7A
square
#5676DE #DE56BA #DEBE56 #56DE7A
split-complementary
#5676DE #DE7A56 #BADE56
monochromatic
#1E3C9B #284FCE #5676DE #89A0E8 #BCC9F2

Accessibility & contrast

On white

4.17
#5676DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5676DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676DE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676DE#FFFFFF#000000##000000
##5676DE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E2
Deuteranopia (green-blind)
#2A76DC
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5676de;
/* rgb */ color: rgb(86, 118, 222);
/* oklch */ color: oklch(59.4% 0.162 268.3);
Tailwind
colors: {
  custom: {
    50: '#919de9',
    500: '#5676de',
    950: '#000000',
  },
}
SCSS
$custom: #5676de;
$custom-light: #919de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5676de",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 225.882,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.16208,
    "h": 268.3
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#5676DE
secondary
#E2D6AE
accent
#A416CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5676DE

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

Preview Lab → · Contrast checker → · Palette generator →

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