#6876D8#6876D8

#6876D8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.149 H 274.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6876D8
RGBrgb(104, 118, 216)
HSLhsl(233, 59%, 63%)
HSVhsv(233, 52%, 85%)
CMYKcmyk(51.9%, 45.4%, 0%, 15.3%)
CIE-LABlab(52.79, 22.03, -52.08)
CIE-LCHlch(52.79, 56.55, 292.93°)
OKLaboklab(60.14% 0.0127 -0.1481)
OKLCHoklch(60.14% 0.149 274.9)
XYZxyz(24.5781, 20.8562, 67.6830)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876D8 #D8CA68
analogous
#68AED8 #6876D8 #9268D8
triadic
#6876D8 #D86876 #76D868
tetradic
#6876D8 #D868AE #D8CA68 #68D892
square
#6876D8 #D868AE #D8CA68 #68D892
split-complementary
#6876D8 #D89268 #AED868
monochromatic
#29379D #374ACB #6876D8 #99A2E5 #C9CEF1

Accessibility & contrast

On white

4.06
#6876D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6876D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876D8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876D8#FFFFFF#000000##000000
##6876D81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DC
Deuteranopia (green-blind)
#3F7AD6
Tritanopia (blue-blind)
#368B9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6876d8;
/* rgb */ color: rgb(104, 118, 216);
/* oklch */ color: oklch(60.1% 0.149 274.9);
Tailwind
colors: {
  custom: {
    50: '#9a9de4',
    500: '#6876d8',
    950: '#000000',
  },
}
SCSS
$custom: #6876d8;
$custom-light: #9a9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#6876d8",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 216
  },
  "hsl": {
    "h": 232.5,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.14865,
    "h": 274.9
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#6876D8
secondary
#E2DDBA
accent
#B21FC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6876D8

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

Preview Lab → · Contrast checker → · Palette generator →

#6876D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva