#5678EE#5678EE

#5678EE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.181 H 268.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5678EE
RGBrgb(86, 120, 238)
HSLhsl(227, 82%, 64%)
HSVhsv(227, 64%, 93%)
CMYKcmyk(63.9%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.58, 24.58, -63.22)
CIE-LCHlch(53.58, 67.83, 291.25°)
OKLaboklab(60.88% -0.0048 -0.1812)
OKLCHoklch(60.88% 0.181 268.5)
XYZxyz(25.9816, 21.5821, 83.6689)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678EE #EECC56
analogous
#56C4EE #5678EE #8056EE
triadic
#5678EE #EE5678 #78EE56
tetradic
#5678EE #EE56C4 #EECC56 #56EE80
square
#5678EE #EE56C4 #EECC56 #56EE80
split-complementary
#5678EE #EE8056 #C4EE56
monochromatic
#1237B7 #1E4CE8 #5678EE #8EA4F4 #C5D1F9

Accessibility & contrast

On white

3.95
#5678EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5678EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678EE#FFFFFF#000000##000000
##5678EE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F2
Deuteranopia (green-blind)
#037AEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5678ee;
/* rgb */ color: rgb(86, 120, 238);
/* oklch */ color: oklch(60.9% 0.181 268.5);
Tailwind
colors: {
  custom: {
    50: '#949ef4',
    500: '#5678ee',
    950: '#000000',
  },
}
SCSS
$custom: #5678ee;
$custom-light: #949ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5678ee",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 226.579,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60884,
    "c": 0.18128,
    "h": 268.5
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#5678EE
secondary
#EBDFB5
accent
#AE07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678EE

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

Preview Lab → · Contrast checker → · Palette generator →

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