#5676DF#5676DF

#5676DF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.5% C 0.163 H 268.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5676DF
RGBrgb(86, 118, 223)
HSLhsl(226, 68%, 61%)
HSVhsv(226, 61%, 87%)
CMYKcmyk(61.4%, 47.1%, 0%, 12.5%)
CIE-LABlab(52.13, 20.73, -57.15)
CIE-LCHlch(52.13, 60.79, 289.94°)
OKLaboklab(59.48% -0.0047 -0.1634)
OKLCHoklch(59.48% 0.163 268.4)
XYZxyz(23.6309, 20.2610, 72.4632)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676DF #DFBF56
analogous
#56BBDF #5676DF #7A56DF
triadic
#5676DF #DF5676 #76DF56
tetradic
#5676DF #DF56BB #DFBF56 #56DF7A
square
#5676DF #DF56BB #DFBF56 #56DF7A
split-complementary
#5676DF #DF7A56 #BBDF56
monochromatic
#1E3B9D #274FD0 #5676DF #89A0E9 #BDC9F2

Accessibility & contrast

On white

4.16
#5676DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5676DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676DF#FFFFFF#000000##000000
##5676DF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#2977DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5676df;
/* rgb */ color: rgb(86, 118, 223);
/* oklch */ color: oklch(59.5% 0.163 268.4);
Tailwind
colors: {
  custom: {
    50: '#929dea',
    500: '#5676df',
    950: '#000000',
  },
}
SCSS
$custom: #5676df;
$custom-light: #929dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5676df",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 225.985,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.16345,
    "h": 268.4
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5676DF

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

Preview Lab → · Contrast checker → · Palette generator →

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