#5676EF#5676EF

#5676EF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.185 H 269.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5676EF
RGBrgb(86, 118, 239)
HSLhsl(227, 83%, 64%)
HSVhsv(227, 64%, 94%)
CMYKcmyk(64%, 50.6%, 0%, 6.3%)
CIE-LABlab(53.13, 26.15, -64.51)
CIE-LCHlch(53.13, 69.60, 292.07°)
OKLaboklab(60.56% -0.0029 -0.185)
OKLCHoklch(60.56% 0.185 269.1)
XYZxyz(25.8909, 21.1649, 84.3654)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5676EF #EFCF56
analogous
#56C2EF #5676EF #8256EF
triadic
#5676EF #EF5676 #76EF56
tetradic
#5676EF #EF56C2 #EFCF56 #56EF82
square
#5676EF #EF56C2 #EFCF56 #56EF82
split-complementary
#5676EF #EF8256 #C2EF56
monochromatic
#1235B9 #1E49EA #5676EF #8EA3F4 #C6D1FA

Accessibility & contrast

On white

4.01
#5676EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5676EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5676EF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5676EF#FFFFFF#000000##000000
##5676EF1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5676ef;
/* rgb */ color: rgb(86, 118, 239);
/* oklch */ color: oklch(60.6% 0.185 269.1);
Tailwind
colors: {
  custom: {
    50: '#949df5',
    500: '#5676ef',
    950: '#000000',
  },
}
SCSS
$custom: #5676ef;
$custom-light: #949df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5676ef",
  "rgb": {
    "r": 86,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 227.451,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.18505,
    "h": 269.1
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#5676EF
secondary
#EBE0B5
accent
#B206DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5676EF

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

Preview Lab → · Contrast checker → · Palette generator →

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