#5678EB#5678EB

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

Color values

HEX#5678EB
RGBrgb(86, 120, 235)
HSLhsl(226, 79%, 63%)
HSVhsv(226, 63%, 92%)
CMYKcmyk(63.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.39, 23.56, -61.85)
CIE-LCHlch(53.39, 66.19, 290.86°)
OKLaboklab(60.68% -0.0051 -0.1772)
OKLCHoklch(60.68% 0.177 268.3)
XYZxyz(25.5445, 21.4072, 81.3670)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678EB #EBC956
analogous
#56C2EB #5678EB #7F56EB
triadic
#5678EB #EB5678 #78EB56
tetradic
#5678EB #EB56C2 #EBC956 #56EB7F
square
#5678EB #EB56C2 #EBC956 #56EB7F
split-complementary
#5678EB #EB7F56 #C2EB56
monochromatic
#1539B2 #1F4CE5 #5678EB #8DA4F1 #C3CFF8

Accessibility & contrast

On white

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

On black

5.28
#5678EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678EB#FFFFFF#000000##000000
##5678EB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#1379E9
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5678eb;
/* rgb */ color: rgb(86, 120, 235);
/* oklch */ color: oklch(60.7% 0.177 268.3);
Tailwind
colors: {
  custom: {
    50: '#939ef2',
    500: '#5678eb',
    950: '#000000',
  },
}
SCSS
$custom: #5678eb;
$custom-light: #939ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5678eb",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 226.309,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.17726,
    "h": 268.3
  },
  "luminance": 0.2141
}

Semantic roles & 50–950 ramp

primary
#5678EB
secondary
#E9DDB4
accent
#AB0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678EB

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

Preview Lab → · Contrast checker → · Palette generator →

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