#5678F0#5678F0

#5678F0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.184 H 268.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5678F0
RGBrgb(86, 120, 240)
HSLhsl(227, 84%, 64%)
HSVhsv(227, 64%, 94%)
CMYKcmyk(64.2%, 50%, 0%, 5.9%)
CIE-LABlab(53.71, 25.26, -64.13)
CIE-LCHlch(53.71, 68.93, 291.50°)
OKLaboklab(61.02% -0.0046 -0.1839)
OKLCHoklch(61.02% 0.184 268.6)
XYZxyz(26.2770, 21.7002, 85.2250)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678F0 #F0CE56
analogous
#56C5F0 #5678F0 #8156F0
triadic
#5678F0 #F05678 #78F056
tetradic
#5678F0 #F056C5 #F0CE56 #56F081
square
#5678F0 #F056C5 #F0CE56 #56F081
split-complementary
#5678F0 #F08156 #C5F056
monochromatic
#1136BB #1E4BEB #5678F0 #8EA5F5 #C6D2FA

Accessibility & contrast

On white

3.93
#5678F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5678F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678F0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678F0#FFFFFF#000000##000000
##5678F01.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3388F4
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5678f0;
/* rgb */ color: rgb(86, 120, 240);
/* oklch */ color: oklch(61.0% 0.184 268.6);
Tailwind
colors: {
  custom: {
    50: '#949ef6',
    500: '#5678f0',
    950: '#000000',
  },
}
SCSS
$custom: #5678f0;
$custom-light: #949ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5678f0",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 226.753,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.18396,
    "h": 268.6
  },
  "luminance": 0.21703
}

Semantic roles & 50–950 ramp

primary
#5678F0
secondary
#ECE0B6
accent
#B005E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678F0

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

Preview Lab → · Contrast checker → · Palette generator →

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