#5678EA#5678EA

#5678EA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.176 H 268.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5678EA
RGBrgb(86, 120, 234)
HSLhsl(226, 78%, 63%)
HSVhsv(226, 63%, 92%)
CMYKcmyk(63.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.33, 23.22, -61.39)
CIE-LCHlch(53.33, 65.64, 290.72°)
OKLaboklab(60.61% -0.0052 -0.1758)
OKLCHoklch(60.61% 0.176 268.3)
XYZxyz(25.4004, 21.3496, 80.6083)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678EA #EAC856
analogous
#56C2EA #5678EA #7E56EA
triadic
#5678EA #EA5678 #78EA56
tetradic
#5678EA #EA56C2 #EAC856 #56EA7E
square
#5678EA #EA56C2 #EAC856 #56EA7E
split-complementary
#5678EA #EA7E56 #C2EA56
monochromatic
#1639B0 #204DE3 #5678EA #8CA3F1 #C3CFF8

Accessibility & contrast

On white

3.98
#5678EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5678EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678EA#FFFFFF#000000##000000
##5678EA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#1679E8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5678ea;
/* rgb */ color: rgb(86, 120, 234);
/* oklch */ color: oklch(60.6% 0.176 268.3);
Tailwind
colors: {
  custom: {
    50: '#939ef1',
    500: '#5678ea',
    950: '#000000',
  },
}
SCSS
$custom: #5678ea;
$custom-light: #939ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5678ea",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 226.216,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.17592,
    "h": 268.3
  },
  "luminance": 0.21352
}

Semantic roles & 50–950 ramp

primary
#5678EA
secondary
#E9DCB3
accent
#AB0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678EA

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

Preview Lab → · Contrast checker → · Palette generator →

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