#5678F1#5678F1

#5678F1 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.185 H 268.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5678F1
RGBrgb(86, 120, 241)
HSLhsl(227, 85%, 64%)
HSVhsv(227, 64%, 95%)
CMYKcmyk(64.3%, 50.2%, 0%, 5.5%)
CIE-LABlab(53.77, 25.60, -64.59)
CIE-LCHlch(53.77, 69.47, 291.62°)
OKLaboklab(61.09% -0.0045 -0.1852)
OKLCHoklch(61.09% 0.185 268.6)
XYZxyz(26.4260, 21.7598, 86.0095)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678F1 #F1CF56
analogous
#56C5F1 #5678F1 #8256F1
triadic
#5678F1 #F15678 #78F156
tetradic
#5678F1 #F156C5 #F1CF56 #56F182
square
#5678F1 #F156C5 #F1CF56 #56F182
split-complementary
#5678F1 #F18256 #C5F156
monochromatic
#1036BD #1D4BEC #5678F1 #8FA5F6 #C7D2FA

Accessibility & contrast

On white

3.92
#5678F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5678F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678F1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678F1#FFFFFF#000000##000000
##5678F11.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F5
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5678f1;
/* rgb */ color: rgb(86, 120, 241);
/* oklch */ color: oklch(61.1% 0.185 268.6);
Tailwind
colors: {
  custom: {
    50: '#949ef6',
    500: '#5678f1',
    950: '#000000',
  },
}
SCSS
$custom: #5678f1;
$custom-light: #949ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5678f1",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 226.839,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6109,
    "c": 0.18529,
    "h": 268.6
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#5678F1
secondary
#ECE1B6
accent
#B104E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5678F1

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

Preview Lab → · Contrast checker → · Palette generator →

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