#6872DD#6872DD

#6872DD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.7% C 0.161 H 276.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6872DD
RGBrgb(104, 114, 221)
HSLhsl(235, 63%, 64%)
HSVhsv(235, 53%, 87%)
CMYKcmyk(52.9%, 48.4%, 0%, 13.3%)
CIE-LABlab(52.06, 26.03, -56.08)
CIE-LCHlch(52.06, 61.83, 294.90°)
OKLaboklab(59.68% 0.0178 -0.1599)
OKLCHoklch(59.68% 0.161 276.4)
XYZxyz(24.7732, 20.1965, 70.9855)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872DD #DDD368
analogous
#68ACDD #6872DD #9868DD
triadic
#6872DD #DD6872 #72DD68
tetradic
#6872DD #DD68AC #DDD368 #68DD98
square
#6872DD #DD68AC #DDD368 #68DD98
split-complementary
#6872DD #DD9868 #ACDD68
monochromatic
#2530A5 #3643D2 #6872DD #9AA1E8 #CCCFF3

Accessibility & contrast

On white

4.17
#6872DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6872DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872DD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872DD#FFFFFF#000000##000000
##6872DD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E1
Deuteranopia (green-blind)
#3178DB
Tritanopia (blue-blind)
#328A9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6872dd;
/* rgb */ color: rgb(104, 114, 221);
/* oklch */ color: oklch(59.7% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b9ae8',
    500: '#6872dd',
    950: '#000000',
  },
}
SCSS
$custom: #6872dd;
$custom-light: #9b9ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#6872dd",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 234.872,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.16087,
    "h": 276.4
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#6872DD
secondary
#E5E2BC
accent
#BC1ACB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6872DD

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

Preview Lab → · Contrast checker → · Palette generator →

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