#6872DF#6872DF

#6872DF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.164 H 276.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6872DF
RGBrgb(104, 114, 223)
HSLhsl(235, 65%, 64%)
HSVhsv(235, 53%, 87%)
CMYKcmyk(53.4%, 48.9%, 0%, 12.5%)
CIE-LABlab(52.18, 26.66, -57.01)
CIE-LCHlch(52.18, 62.94, 295.06°)
OKLaboklab(59.8% 0.018 -0.1626)
OKLCHoklch(59.8% 0.164 276.3)
XYZxyz(25.0413, 20.3038, 72.3972)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872DF #DFD568
analogous
#68AEDF #6872DF #9A68DF
triadic
#6872DF #DF6872 #72DF68
tetradic
#6872DF #DF68AE #DFD568 #68DF9A
square
#6872DF #DF68AE #DFD568 #68DF9A
split-complementary
#6872DF #DF9A68 #AEDF68
monochromatic
#242FA9 #3643D4 #6872DF #9BA1EA #CDD0F4

Accessibility & contrast

On white

4.15
#6872DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6872DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872DF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872DF#FFFFFF#000000##000000
##6872DF1.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)
#3D81E3
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#2F8A9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6872df;
/* rgb */ color: rgb(104, 114, 223);
/* oklch */ color: oklch(59.8% 0.164 276.3);
Tailwind
colors: {
  custom: {
    50: '#9b9aea',
    500: '#6872df',
    950: '#000000',
  },
}
SCSS
$custom: #6872df;
$custom-light: #9b9aea;
$custom-dark: #000000;
JSON
{
  "hex": "#6872df",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 234.958,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.16361,
    "h": 276.3
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#6872DF
secondary
#E6E3BD
accent
#BE19CD
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6872DF

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

Preview Lab → · Contrast checker → · Palette generator →

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