#5678E2#5678E2

#5678E2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.165 H 267.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5678E2
RGBrgb(86, 120, 226)
HSLhsl(225, 71%, 61%)
HSVhsv(225, 62%, 89%)
CMYKcmyk(61.9%, 46.9%, 0%, 11.4%)
CIE-LABlab(52.84, 20.52, -57.70)
CIE-LCHlch(52.84, 61.24, 289.57°)
OKLaboklab(60.08% -0.0062 -0.165)
OKLCHoklch(60.08% 0.165 267.8)
XYZxyz(24.2770, 20.9002, 74.6915)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678E2 #E2C056
analogous
#56BEE2 #5678E2 #7A56E2
triadic
#5678E2 #E25678 #78E256
tetradic
#5678E2 #E256BE #E2C056 #56E27A
square
#5678E2 #E256BE #E2C056 #56E27A
split-complementary
#5678E2 #E27A56 #BEE256
monochromatic
#1C3CA2 #2550D6 #5678E2 #8AA2EB #BECBF4

Accessibility & contrast

On white

4.05
#5678E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5678E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678E2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678E2#FFFFFF#000000##000000
##5678E21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#2978E0
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5678e2;
/* rgb */ color: rgb(86, 120, 226);
/* oklch */ color: oklch(60.1% 0.165 267.8);
Tailwind
colors: {
  custom: {
    50: '#929eec',
    500: '#5678e2',
    950: '#000000',
  },
}
SCSS
$custom: #5678e2;
$custom-light: #929eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5678e2",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 225.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.16509,
    "h": 267.8
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#5678E2
secondary
#E4D7B0
accent
#A413D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5678E2

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

Preview Lab → · Contrast checker → · Palette generator →

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