#5676F2#5676F2

#5676F2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.189 H 269.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5676F2
RGBrgb(86, 118, 242)
HSLhsl(228, 86%, 64%)
HSVhsv(228, 64%, 95%)
CMYKcmyk(64.5%, 51.2%, 0%, 5.1%)
CIE-LABlab(53.32, 27.17, -65.86)
CIE-LCHlch(53.32, 71.25, 292.41°)
OKLaboklab(60.77% -0.0026 -0.189)
OKLCHoklch(60.77% 0.189 269.2)
XYZxyz(26.3377, 21.3437, 86.7190)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676F2 #F2D256
analogous
#56C4F2 #5676F2 #8456F2
triadic
#5676F2 #F25676 #76F256
tetradic
#5676F2 #F256C4 #F2D256 #56F284
square
#5676F2 #F256C4 #F2D256 #56F284
split-complementary
#5676F2 #F28456 #C4F256
monochromatic
#0F33BF #1D48EE #5676F2 #8FA4F6 #C8D2FB

Accessibility & contrast

On white

3.99
#5676F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5676F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676F2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676F2#FFFFFF#000000##000000
##5676F21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F6
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5676f2;
/* rgb */ color: rgb(86, 118, 242);
/* oklch */ color: oklch(60.8% 0.189 269.2);
Tailwind
colors: {
  custom: {
    50: '#959df7',
    500: '#5676f2',
    950: '#000000',
  },
}
SCSS
$custom: #5676f2;
$custom-light: #959df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5676f2",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 227.692,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.18905,
    "h": 269.2
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#5676F2
secondary
#EDE2B7
accent
#B403E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5676F2

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

Preview Lab → · Contrast checker → · Palette generator →

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