#5678F4#5678F4

#5678F4 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.3% C 0.189 H 268.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5678F4
RGBrgb(86, 120, 244)
HSLhsl(227, 88%, 65%)
HSVhsv(227, 65%, 96%)
CMYKcmyk(64.8%, 50.8%, 0%, 4.3%)
CIE-LABlab(53.96, 26.62, -65.94)
CIE-LCHlch(53.96, 71.11, 291.98°)
OKLaboklab(61.3% -0.0042 -0.1892)
OKLCHoklch(61.3% 0.189 268.7)
XYZxyz(26.8778, 21.9405, 88.3889)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678F4 #F4D256
analogous
#56C7F4 #5678F4 #8356F4
triadic
#5678F4 #F45678 #78F456
tetradic
#5678F4 #F456C7 #F4D256 #56F483
square
#5678F4 #F456C7 #F4D256 #56F483
split-complementary
#5678F4 #F48356 #C7F456
monochromatic
#0D34C3 #1D4AF0 #5678F4 #8FA6F8 #C9D4FB

Accessibility & contrast

On white

3.90
#5678F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5678F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678F4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678F4#FFFFFF#000000##000000
##5678F41.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D88F8
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5678f4;
/* rgb */ color: rgb(86, 120, 244);
/* oklch */ color: oklch(61.3% 0.189 268.7);
Tailwind
colors: {
  custom: {
    50: '#959ef8',
    500: '#5678f4',
    950: '#000000',
  },
}
SCSS
$custom: #5678f4;
$custom-light: #959ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5678f4",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 227.089,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.18928,
    "h": 268.7
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#5678F4
secondary
#EEE2B8
accent
#B301E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5678F4

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

Preview Lab → · Contrast checker → · Palette generator →

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