#5678EF#5678EF

#5678EF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.183 H 268.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5678EF
RGBrgb(86, 120, 239)
HSLhsl(227, 83%, 64%)
HSVhsv(227, 64%, 94%)
CMYKcmyk(64%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.64, 24.92, -63.68)
CIE-LCHlch(53.64, 68.38, 291.37°)
OKLaboklab(60.95% -0.0047 -0.1826)
OKLCHoklch(60.95% 0.183 268.5)
XYZxyz(26.1289, 21.6410, 84.4448)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678EF #EFCD56
analogous
#56C4EF #5678EF #8056EF
triadic
#5678EF #EF5678 #78EF56
tetradic
#5678EF #EF56C4 #EFCD56 #56EF80
square
#5678EF #EF56C4 #EFCD56 #56EF80
split-complementary
#5678EF #EF8056 #C4EF56
monochromatic
#1237B9 #1E4BEA #5678EF #8EA5F4 #C6D1FA

Accessibility & contrast

On white

3.94
#5678EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5678EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678EF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678EF#FFFFFF#000000##000000
##5678EF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5678ef;
/* rgb */ color: rgb(86, 120, 239);
/* oklch */ color: oklch(61.0% 0.183 268.5);
Tailwind
colors: {
  custom: {
    50: '#949ef5',
    500: '#5678ef',
    950: '#000000',
  },
}
SCSS
$custom: #5678ef;
$custom-light: #949ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5678ef",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 226.667,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.18262,
    "h": 268.5
  },
  "luminance": 0.21643
}

Semantic roles & 50–950 ramp

primary
#5678EF
secondary
#EBDFB5
accent
#AF06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678EF

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

Preview Lab → · Contrast checker → · Palette generator →

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