#6872E5#6872E5

#6872E5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.172 H 276.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6872E5
RGBrgb(104, 114, 229)
HSLhsl(235, 71%, 65%)
HSVhsv(235, 55%, 90%)
CMYKcmyk(54.6%, 50.2%, 0%, 10.2%)
CIE-LABlab(52.55, 28.56, -59.80)
CIE-LCHlch(52.55, 66.27, 295.53°)
OKLaboklab(60.2% 0.0186 -0.1708)
OKLCHoklch(60.2% 0.172 276.2)
XYZxyz(25.8646, 20.6331, 76.7332)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872E5 #E5DB68
analogous
#68B0E5 #6872E5 #9C68E5
triadic
#6872E5 #E56872 #72E568
tetradic
#6872E5 #E568B0 #E5DB68 #68E59C
square
#6872E5 #E568B0 #E5DB68 #68E59C
split-complementary
#6872E5 #E59C68 #B0E568
monochromatic
#1F2BB4 #3441DC #6872E5 #9CA3EE #D0D4F7

Accessibility & contrast

On white

4.10
#6872E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6872E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872E5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872E5#FFFFFF#000000##000000
##6872E51.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783E9
Deuteranopia (green-blind)
#2378E3
Tritanopia (blue-blind)
#288CA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6872e5;
/* rgb */ color: rgb(104, 114, 229);
/* oklch */ color: oklch(60.2% 0.172 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c9aee',
    500: '#6872e5',
    950: '#000000',
  },
}
SCSS
$custom: #6872e5;
$custom-light: #9c9aee;
$custom-dark: #000000;
JSON
{
  "hex": "#6872e5",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 235.2,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.17182,
    "h": 276.2
  },
  "luminance": 0.20635
}

Semantic roles & 50–950 ramp

primary
#6872E5
secondary
#E9E6BF
accent
#C313D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6872E5

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

Preview Lab → · Contrast checker → · Palette generator →

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