#6876DF#6876DF

#6876DF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.158 H 274.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6876DF
RGBrgb(104, 118, 223)
HSLhsl(233, 65%, 64%)
HSVhsv(233, 53%, 87%)
CMYKcmyk(53.4%, 47.1%, 0%, 12.5%)
CIE-LABlab(53.20, 24.23, -55.38)
CIE-LCHlch(53.20, 60.45, 293.63°)
OKLaboklab(60.57% 0.0136 -0.1578)
OKLCHoklch(60.57% 0.158 274.9)
XYZxyz(25.5024, 21.2259, 72.5509)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6876DF #DFD168
analogous
#68B2DF #6876DF #9668DF
triadic
#6876DF #DF6876 #76DF68
tetradic
#6876DF #DF68B2 #DFD168 #68DF96
square
#6876DF #DF68B2 #DFD168 #68DF96
split-complementary
#6876DF #DF9668 #B2DF68
monochromatic
#2433A9 #3648D4 #6876DF #9BA4EA #CDD2F4

Accessibility & contrast

On white

4.00
#6876DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6876DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6876DF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6876DF#FFFFFF#000000##000000
##6876DF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#377ADD
Tritanopia (blue-blind)
#2F8DA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6876df;
/* rgb */ color: rgb(104, 118, 223);
/* oklch */ color: oklch(60.6% 0.158 274.9);
Tailwind
colors: {
  custom: {
    50: '#9b9de9',
    500: '#6876df',
    950: '#000000',
  },
}
SCSS
$custom: #6876df;
$custom-light: #9b9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6876df",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 232.941,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.15839,
    "h": 274.9
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6876DF

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

Preview Lab → · Contrast checker → · Palette generator →

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