#5676E5#5676E5

#5676E5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.172 H 268.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5676E5
RGBrgb(86, 118, 229)
HSLhsl(227, 73%, 62%)
HSVhsv(227, 62%, 90%)
CMYKcmyk(62.4%, 48.5%, 0%, 10.2%)
CIE-LABlab(52.50, 22.76, -59.93)
CIE-LCHlch(52.50, 64.11, 290.80°)
OKLaboklab(59.88% -0.0039 -0.1716)
OKLCHoklch(59.88% 0.172 268.7)
XYZxyz(24.4542, 20.5903, 76.7992)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676E5 #E5C556
analogous
#56BEE5 #5676E5 #7E56E5
triadic
#5676E5 #E55676 #76E556
tetradic
#5676E5 #E556BE #E5C556 #56E57E
square
#5676E5 #E556BE #E5C556 #56E57E
split-complementary
#5676E5 #E57E56 #BEE556
monochromatic
#1A39A7 #224BDC #5676E5 #8BA1ED #C0CCF5

Accessibility & contrast

On white

4.10
#5676E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5676E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676E5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676E5#FFFFFF#000000##000000
##5676E51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#1C77E3
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5676e5;
/* rgb */ color: rgb(86, 118, 229);
/* oklch */ color: oklch(59.9% 0.172 268.7);
Tailwind
colors: {
  custom: {
    50: '#939dee',
    500: '#5676e5',
    950: '#000000',
  },
}
SCSS
$custom: #5676e5;
$custom-light: #939dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5676e5",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 229
  },
  "hsl": {
    "h": 226.573,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.17162,
    "h": 268.7
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#5676E5
secondary
#E6DAB1
accent
#A910D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5676E5

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

Preview Lab → · Contrast checker → · Palette generator →

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