#5678E7#5678E7

#5678E7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.172 H 268.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5678E7
RGBrgb(86, 120, 231)
HSLhsl(226, 75%, 62%)
HSVhsv(226, 63%, 91%)
CMYKcmyk(62.8%, 48.1%, 0%, 9.4%)
CIE-LABlab(53.14, 22.21, -60.01)
CIE-LCHlch(53.14, 63.99, 290.31°)
OKLaboklab(60.41% -0.0056 -0.1718)
OKLCHoklch(60.41% 0.172 268.1)
XYZxyz(24.9731, 21.1787, 78.3577)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678E7 #E7C556
analogous
#56C1E7 #5678E7 #7D56E7
triadic
#5678E7 #E75678 #78E756
tetradic
#5678E7 #E756C1 #E7C556 #56E77D
square
#5678E7 #E756C1 #E7C556 #56E77D
split-complementary
#5678E7 #E77D56 #C1E756
monochromatic
#183AAA #204DDF #5678E7 #8CA3EF #C1CEF6

Accessibility & contrast

On white

4.01
#5678E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5678E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678E7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678E7#FFFFFF#000000##000000
##5678E71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5678e7;
/* rgb */ color: rgb(86, 120, 231);
/* oklch */ color: oklch(60.4% 0.172 268.1);
Tailwind
colors: {
  custom: {
    50: '#939eef',
    500: '#5678e7',
    950: '#000000',
  },
}
SCSS
$custom: #5678e7;
$custom-light: #939eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5678e7",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 225.931,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60413,
    "c": 0.17187,
    "h": 268.1
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#5678E7
secondary
#E7DBB2
accent
#A80ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5678E7

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

Preview Lab → · Contrast checker → · Palette generator →

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