#5678F3#5678F3

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

Color values

HEX#5678F3
RGBrgb(86, 120, 243)
HSLhsl(227, 87%, 65%)
HSVhsv(227, 65%, 95%)
CMYKcmyk(64.6%, 50.6%, 0%, 4.7%)
CIE-LABlab(53.90, 26.28, -65.49)
CIE-LCHlch(53.90, 70.57, 291.86°)
OKLaboklab(61.23% -0.0043 -0.1879)
OKLCHoklch(61.23% 0.188 268.7)
XYZxyz(26.7264, 21.8800, 87.5914)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678F3 #F3D156
analogous
#56C7F3 #5678F3 #8256F3
triadic
#5678F3 #F35678 #78F356
tetradic
#5678F3 #F356C7 #F3D156 #56F382
square
#5678F3 #F356C7 #F3D156 #56F382
split-complementary
#5678F3 #F38256 #C7F356
monochromatic
#0E35C1 #1D4AEF #5678F3 #8FA6F7 #C8D3FB

Accessibility & contrast

On white

3.91
#5678F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5678F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678F3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678F3#FFFFFF#000000##000000
##5678F31.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F7
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5678f3;
/* rgb */ color: rgb(86, 120, 243);
/* oklch */ color: oklch(61.2% 0.188 268.7);
Tailwind
colors: {
  custom: {
    50: '#959ef8',
    500: '#5678f3',
    950: '#000000',
  },
}
SCSS
$custom: #5678f3;
$custom-light: #959ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5678f3",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 227.006,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61228,
    "c": 0.18795,
    "h": 268.7
  },
  "luminance": 0.21882
}

Semantic roles & 50–950 ramp

primary
#5678F3
secondary
#EDE2B7
accent
#B302E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5678F3

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

Preview Lab → · Contrast checker → · Palette generator →

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