#5678F6#5678F6

#5678F6 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.192 H 268.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5678F6
RGBrgb(86, 120, 246)
HSLhsl(227, 90%, 65%)
HSVhsv(227, 65%, 96%)
CMYKcmyk(65%, 51.2%, 0%, 3.5%)
CIE-LABlab(54.09, 27.30, -66.84)
CIE-LCHlch(54.09, 72.20, 292.21°)
OKLaboklab(61.44% -0.0041 -0.1919)
OKLCHoklch(61.44% 0.192 268.8)
XYZxyz(27.1831, 22.0627, 89.9969)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678F6 #F6D456
analogous
#56C8F6 #5678F6 #8456F6
triadic
#5678F6 #F65678 #78F656
tetradic
#5678F6 #F656C8 #F6D456 #56F684
square
#5678F6 #F656C8 #F6D456 #56F684
split-complementary
#5678F6 #F68456 #C8F656
monochromatic
#0B33C7 #1C4AF3 #5678F6 #90A6F9 #CAD5FC

Accessibility & contrast

On white

3.88
#5678F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5678F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678F6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678F6#FFFFFF#000000##000000
##5678F61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FA
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5678f6;
/* rgb */ color: rgb(86, 120, 246);
/* oklch */ color: oklch(61.4% 0.192 268.8);
Tailwind
colors: {
  custom: {
    50: '#959efa',
    500: '#5678f6',
    950: '#000000',
  },
}
SCSS
$custom: #5678f6;
$custom-light: #959efa;
$custom-dark: #000000;
JSON
{
  "hex": "#5678f6",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 227.25,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.19192,
    "h": 268.8
  },
  "luminance": 0.22065
}

Semantic roles & 50–950 ramp

primary
#5678F6
secondary
#EFE3B9
accent
#B500E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5678F6

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

Preview Lab → · Contrast checker → · Palette generator →

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