#6872E7#6872E7

#6872E7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.175 H 276.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6872E7
RGBrgb(104, 114, 231)
HSLhsl(235, 73%, 66%)
HSVhsv(235, 55%, 91%)
CMYKcmyk(55%, 50.6%, 0%, 9.4%)
CIE-LABlab(52.67, 29.19, -60.72)
CIE-LCHlch(52.67, 67.37, 295.67°)
OKLaboklab(60.33% 0.0187 -0.1735)
OKLCHoklch(60.33% 0.175 276.2)
XYZxyz(26.1454, 20.7454, 78.2123)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872E7 #E7DD68
analogous
#68B1E7 #6872E7 #9E68E7
triadic
#6872E7 #E76872 #72E768
tetradic
#6872E7 #E768B1 #E7DD68 #68E79E
square
#6872E7 #E768B1 #E7DD68 #68E79E
split-complementary
#6872E7 #E79E68 #B1E768
monochromatic
#1D29B7 #3341DF #6872E7 #9DA3EF #D2D5F8

Accessibility & contrast

On white

4.08
#6872E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6872E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872E7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872E7#FFFFFF#000000##000000
##6872E71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#248CA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6872e7;
/* rgb */ color: rgb(104, 114, 231);
/* oklch */ color: oklch(60.3% 0.175 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c9aef',
    500: '#6872e7',
    950: '#000000',
  },
}
SCSS
$custom: #6872e7;
$custom-light: #9c9aef;
$custom-dark: #000000;
JSON
{
  "hex": "#6872e7",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 235.276,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.17454,
    "h": 276.2
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#6872E7
secondary
#EBE7C0
accent
#C511D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6872E7

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

Preview Lab → · Contrast checker → · Palette generator →

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