#6872DC#6872DC

#6872DC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.159 H 276.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6872DC
RGBrgb(104, 114, 220)
HSLhsl(235, 62%, 64%)
HSVhsv(235, 53%, 86%)
CMYKcmyk(52.7%, 48.2%, 0%, 13.7%)
CIE-LABlab(52.00, 25.72, -55.61)
CIE-LCHlch(52.00, 61.27, 294.82°)
OKLaboklab(59.61% 0.0177 -0.1585)
OKLCHoklch(59.61% 0.159 276.4)
XYZxyz(24.6404, 20.1434, 70.2859)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872DC #DCD268
analogous
#68ACDC #6872DC #9868DC
triadic
#6872DC #DC6872 #72DC68
tetradic
#6872DC #DC68AC #DCD268 #68DC98
square
#6872DC #DC68AC #DCD268 #68DC98
split-complementary
#6872DC #DC9868 #ACDC68
monochromatic
#2631A4 #3644D0 #6872DC #9AA0E8 #CBCFF3

Accessibility & contrast

On white

4.18
#6872DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6872DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872DC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872DC#FFFFFF#000000##000000
##6872DC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#3377DA
Tritanopia (blue-blind)
#33899C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6872dc;
/* rgb */ color: rgb(104, 114, 220);
/* oklch */ color: oklch(59.6% 0.159 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b9ae7',
    500: '#6872dc',
    950: '#000000',
  },
}
SCSS
$custom: #6872dc;
$custom-light: #9b9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6872dc",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 234.828,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.15948,
    "h": 276.4
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#6872DC
secondary
#E4E1BB
accent
#BB1BCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6872DC

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

Preview Lab → · Contrast checker → · Palette generator →

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