#6877DF#6877DF

#6877DF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.157 H 274.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6877DF
RGBrgb(104, 119, 223)
HSLhsl(232, 65%, 64%)
HSVhsv(232, 53%, 87%)
CMYKcmyk(53.4%, 46.6%, 0%, 12.5%)
CIE-LABlab(53.45, 23.63, -54.97)
CIE-LCHlch(53.45, 59.83, 293.26°)
OKLaboklab(60.77% 0.0125 -0.1566)
OKLCHoklch(60.77% 0.157 274.6)
XYZxyz(25.6208, 21.4627, 72.5904)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877DF #DFD068
analogous
#68B3DF #6877DF #9568DF
triadic
#6877DF #DF6877 #77DF68
tetradic
#6877DF #DF68B3 #DFD068 #68DF95
square
#6877DF #DF68B3 #DFD068 #68DF95
split-complementary
#6877DF #DF9568 #B3DF68
monochromatic
#2435A9 #364AD4 #6877DF #9BA4EA #CDD2F4

Accessibility & contrast

On white

3.97
#6877DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6877DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877DF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877DF#FFFFFF#000000##000000
##6877DF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#397BDD
Tritanopia (blue-blind)
#2E8EA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6877df;
/* rgb */ color: rgb(104, 119, 223);
/* oklch */ color: oklch(60.8% 0.157 274.6);
Tailwind
colors: {
  custom: {
    50: '#9b9ee9',
    500: '#6877df',
    950: '#000000',
  },
}
SCSS
$custom: #6877df;
$custom-light: #9b9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6877df",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 232.437,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.15708,
    "h": 274.6
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#6877DF
secondary
#E6E1BD
accent
#B619CD
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6877DF

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

Preview Lab → · Contrast checker → · Palette generator →

#6877DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva