#5678ED#5678ED

#5678ED is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.180 H 268.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5678ED
RGBrgb(86, 120, 237)
HSLhsl(226, 81%, 63%)
HSVhsv(226, 64%, 93%)
CMYKcmyk(63.7%, 49.4%, 0%, 7.1%)
CIE-LABlab(53.52, 24.24, -62.77)
CIE-LCHlch(53.52, 67.28, 291.12°)
OKLaboklab(60.82% -0.0049 -0.1799)
OKLCHoklch(60.82% 0.18 268.4)
XYZxyz(25.8351, 21.5235, 82.8973)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678ED #EDCB56
analogous
#56C3ED #5678ED #7F56ED
triadic
#5678ED #ED5678 #78ED56
tetradic
#5678ED #ED56C3 #EDCB56 #56ED7F
square
#5678ED #ED56C3 #EDCB56 #56ED7F
split-complementary
#5678ED #ED7F56 #C3ED56
monochromatic
#1338B5 #1F4CE7 #5678ED #8DA4F3 #C5D0F9

Accessibility & contrast

On white

3.96
#5678ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5678ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678ED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678ED#FFFFFF#000000##000000
##5678ED1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#0979EB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5678ed;
/* rgb */ color: rgb(86, 120, 237);
/* oklch */ color: oklch(60.8% 0.180 268.4);
Tailwind
colors: {
  custom: {
    50: '#949ef3',
    500: '#5678ed',
    950: '#000000',
  },
}
SCSS
$custom: #5678ed;
$custom-light: #949ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5678ed",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 226.49,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.17995,
    "h": 268.4
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#5678ED
secondary
#EADEB4
accent
#AD08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678ED

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

Preview Lab → · Contrast checker → · Palette generator →

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