#5678CE#5678CE

#5678CE is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.138 H 266.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5678CE
RGBrgb(86, 120, 206)
HSLhsl(223, 55%, 57%)
HSVhsv(223, 58%, 81%)
CMYKcmyk(58.3%, 41.7%, 0%, 19.2%)
CIE-LABlab(51.69, 13.80, -48.24)
CIE-LCHlch(51.69, 50.18, 285.97°)
OKLaboklab(58.83% -0.0095 -0.1372)
OKLCHoklch(58.83% 0.138 266.1)
XYZxyz(21.6910, 19.8658, 61.0720)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678CE #CEAC56
analogous
#56B4CE #5678CE #7056CE
triadic
#5678CE #CE5678 #78CE56
tetradic
#5678CE #CE56B4 #CEAC56 #56CE70
square
#5678CE #CE56B4 #CEAC56 #56CE70
split-complementary
#5678CE #CE7056 #B4CE56
monochromatic
#264183 #3458B3 #5678CE #859EDC #B5C4EA

Accessibility & contrast

On white

4.22
#5678CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5678CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678CE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678CE#FFFFFF#000000##000000
##5678CE1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D1
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5678ce;
/* rgb */ color: rgb(86, 120, 206);
/* oklch */ color: oklch(58.8% 0.138 266.1);
Tailwind
colors: {
  custom: {
    50: '#8f9edd',
    500: '#5678ce',
    950: '#000000',
  },
}
SCSS
$custom: #5678ce;
$custom-light: #8f9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5678ce",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 223,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.13753,
    "h": 266.1
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#5678CE
secondary
#D8CAA8
accent
#B449DE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5678CE

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

Preview Lab → · Contrast checker → · Palette generator →

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