#5678D7#5678D7

#5678D7 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.150 H 267.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5678D7
RGBrgb(86, 120, 215)
HSLhsl(224, 62%, 59%)
HSVhsv(224, 60%, 84%)
CMYKcmyk(60%, 44.2%, 0%, 15.7%)
CIE-LABlab(52.19, 16.81, -52.54)
CIE-LCHlch(52.19, 55.16, 287.74°)
OKLaboklab(59.38% -0.0079 -0.1498)
OKLCHoklch(59.38% 0.15 267)
XYZxyz(22.8158, 20.3158, 66.9958)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678D7 #D7B556
analogous
#56B9D7 #5678D7 #7556D7
triadic
#5678D7 #D75678 #78D756
tetradic
#5678D7 #D756B9 #D7B556 #56D775
square
#5678D7 #D756B9 #D7B556 #56D775
split-complementary
#5678D7 #D77556 #B9D756
monochromatic
#223F90 #2E55C2 #5678D7 #87A0E3 #B9C7EE

Accessibility & contrast

On white

4.15
#5678D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5678D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678D7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678D7#FFFFFF#000000##000000
##5678D71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#3977D5
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5678d7;
/* rgb */ color: rgb(86, 120, 215);
/* oklch */ color: oklch(59.4% 0.150 267.0);
Tailwind
colors: {
  custom: {
    50: '#909ee4',
    500: '#5678d7',
    950: '#000000',
  },
}
SCSS
$custom: #5678d7;
$custom-light: #909ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#5678d7",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 224.186,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.15001,
    "h": 267
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#5678D7
secondary
#DED0AB
accent
#BA43E5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #5678D7

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

Preview Lab → · Contrast checker → · Palette generator →

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