#5678D2#5678D2

#5678D2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.143 H 266.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5678D2
RGBrgb(86, 120, 210)
HSLhsl(224, 58%, 58%)
HSVhsv(224, 59%, 82%)
CMYKcmyk(59%, 42.9%, 0%, 17.6%)
CIE-LABlab(51.91, 15.14, -50.16)
CIE-LCHlch(51.91, 52.39, 286.79°)
OKLaboklab(59.07% -0.0087 -0.1428)
OKLCHoklch(59.07% 0.143 266.5)
XYZxyz(22.1831, 20.0627, 63.6638)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678D2 #D2B056
analogous
#56B6D2 #5678D2 #7256D2
triadic
#5678D2 #D25678 #78D256
tetradic
#5678D2 #D256B6 #D2B056 #56D272
square
#5678D2 #D256B6 #D2B056 #56D272
split-complementary
#5678D2 #D27256 #B6D256
monochromatic
#254089 #3157B9 #5678D2 #869FDF #B7C5EC

Accessibility & contrast

On white

4.19
#5678D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5678D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678D2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678D2#FFFFFF#000000##000000
##5678D21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D5
Deuteranopia (green-blind)
#3E77D0
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5678d2;
/* rgb */ color: rgb(86, 120, 210);
/* oklch */ color: oklch(59.1% 0.143 266.5);
Tailwind
colors: {
  custom: {
    50: '#8f9ee0',
    500: '#5678d2',
    950: '#000000',
  },
}
SCSS
$custom: #5678d2;
$custom-light: #8f9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#5678d2",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 223.548,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.14309,
    "h": 266.5
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#5678D2
secondary
#DBCDA9
accent
#B747E1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5678D2

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

Preview Lab → · Contrast checker → · Palette generator →

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