#5678EC#5678EC

#5678EC is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.179 H 268.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5678EC
RGBrgb(86, 120, 236)
HSLhsl(226, 80%, 63%)
HSVhsv(226, 64%, 93%)
CMYKcmyk(63.6%, 49.2%, 0%, 7.5%)
CIE-LABlab(53.45, 23.90, -62.31)
CIE-LCHlch(53.45, 66.74, 290.99°)
OKLaboklab(60.75% -0.005 -0.1785)
OKLCHoklch(60.75% 0.179 268.4)
XYZxyz(25.6894, 21.4652, 82.1300)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678EC #ECCA56
analogous
#56C3EC #5678EC #7F56EC
triadic
#5678EC #EC5678 #78EC56
tetradic
#5678EC #EC56C3 #ECCA56 #56EC7F
square
#5678EC #EC56C3 #ECCA56 #56EC7F
split-complementary
#5678EC #EC7F56 #C3EC56
monochromatic
#1438B3 #1F4CE6 #5678EC #8DA4F2 #C4D0F8

Accessibility & contrast

On white

3.97
#5678EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5678EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678EC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678EC#FFFFFF#000000##000000
##5678EC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#0F79EA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5678ec;
/* rgb */ color: rgb(86, 120, 236);
/* oklch */ color: oklch(60.7% 0.179 268.4);
Tailwind
colors: {
  custom: {
    50: '#949ef3',
    500: '#5678ec',
    950: '#000000',
  },
}
SCSS
$custom: #5678ec;
$custom-light: #949ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5678ec",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 226.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.17861,
    "h": 268.4
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#5678EC
secondary
#EADEB4
accent
#AC09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5678EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva