#5679D2#5679D2

#5679D2 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.142 H 266.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5679D2
RGBrgb(86, 121, 210)
HSLhsl(223, 58%, 58%)
HSVhsv(223, 59%, 82%)
CMYKcmyk(59%, 42.4%, 0%, 17.6%)
CIE-LABlab(52.18, 14.52, -49.72)
CIE-LCHlch(52.18, 51.80, 286.28°)
OKLaboklab(59.28% -0.0098 -0.1415)
OKLCHoklch(59.28% 0.142 266)
XYZxyz(22.3040, 20.3045, 63.7041)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5679D2 #D2AF56
analogous
#56B7D2 #5679D2 #7156D2
triadic
#5679D2 #D25679 #79D256
tetradic
#5679D2 #D256B7 #D2AF56 #56D271
square
#5679D2 #D256B7 #D2AF56 #56D271
split-complementary
#5679D2 #D27156 #B7D256
monochromatic
#254189 #3158B9 #5679D2 #869FDF #B7C6EC

Accessibility & contrast

On white

4.15
#5679D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5679D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5679D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5679D2#FFFFFF#000000##000000
##5679D21.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)
#5282D5
Deuteranopia (green-blind)
#4077D0
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5679d2;
/* rgb */ color: rgb(86, 121, 210);
/* oklch */ color: oklch(59.3% 0.142 266.0);
Tailwind
colors: {
  custom: {
    50: '#8f9fe0',
    500: '#5679d2',
    950: '#000000',
  },
}
SCSS
$custom: #5679d2;
$custom-light: #8f9fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#5679d2",
  "rgb": {
    "r": 86,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 223.065,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59277,
    "c": 0.14188,
    "h": 266
  },
  "luminance": 0.20306
}

Semantic roles & 50–950 ramp

primary
#5679D2
secondary
#DBCDA9
accent
#B647E1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5679D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5679D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva