#5678DC#5678DC

#5678DC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.157 H 267.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5678DC
RGBrgb(86, 120, 220)
HSLhsl(225, 66%, 60%)
HSVhsv(225, 61%, 86%)
CMYKcmyk(60.9%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.48, 18.49, -54.89)
CIE-LCHlch(52.48, 57.92, 288.62°)
OKLaboklab(59.7% -0.0071 -0.1567)
OKLCHoklch(59.7% 0.157 267.4)
XYZxyz(23.4681, 20.5767, 70.4312)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678DC #DCBA56
analogous
#56BBDC #5678DC #7756DC
triadic
#5678DC #DC5678 #78DC56
tetradic
#5678DC #DC56BB #DCBA56 #56DC77
square
#5678DC #DC56BB #DCBA56 #56DC77
split-complementary
#5678DC #DC7756 #BBDC56
monochromatic
#203E98 #2A53CB #5678DC #89A1E6 #BBC9F1

Accessibility & contrast

On white

4.10
#5678DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5678DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678DC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678DC#FFFFFF#000000##000000
##5678DC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5678dc;
/* rgb */ color: rgb(86, 120, 220);
/* oklch */ color: oklch(59.7% 0.157 267.4);
Tailwind
colors: {
  custom: {
    50: '#919ee7',
    500: '#5678dc',
    950: '#000000',
  },
}
SCSS
$custom: #5678dc;
$custom-light: #919ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5678dc",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 224.776,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.15689,
    "h": 267.4
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#5678DC
secondary
#E1D4AD
accent
#BE3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5678DC

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

Preview Lab → · Contrast checker → · Palette generator →

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