#5678CD#5678CD

#5678CD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.136 H 265.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5678CD
RGBrgb(86, 120, 205)
HSLhsl(223, 54%, 57%)
HSVhsv(223, 58%, 80%)
CMYKcmyk(58%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.63, 13.47, -47.76)
CIE-LCHlch(51.63, 49.62, 285.75°)
OKLaboklab(58.76% -0.0097 -0.1358)
OKLCHoklch(58.76% 0.136 265.9)
XYZxyz(21.5699, 19.8174, 60.4342)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678CD #CDAB56
analogous
#56B4CD #5678CD #7056CD
triadic
#5678CD #CD5678 #78CD56
tetradic
#5678CD #CD56B4 #CDAB56 #56CD70
square
#5678CD #CD56B4 #CDAB56 #56CD70
split-complementary
#5678CD #CD7056 #B4CD56
monochromatic
#264182 #3458B1 #5678CD #859EDB #B4C3E9

Accessibility & contrast

On white

4.23
#5678CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5678CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678CD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678CD#FFFFFF#000000##000000
##5678CD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5678cd;
/* rgb */ color: rgb(86, 120, 205);
/* oklch */ color: oklch(58.8% 0.136 265.9);
Tailwind
colors: {
  custom: {
    50: '#8f9edd',
    500: '#5678cd',
    950: '#000000',
  },
}
SCSS
$custom: #5678cd;
$custom-light: #8f9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5678cd",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 222.857,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58764,
    "c": 0.13613,
    "h": 265.9
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#5678CD
secondary
#D8CAA7
accent
#B44ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5678CD

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

Preview Lab → · Contrast checker → · Palette generator →

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