#6872E8#6872E8

#6872E8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.176 H 276.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6872E8
RGBrgb(104, 114, 232)
HSLhsl(235, 74%, 66%)
HSVhsv(235, 55%, 91%)
CMYKcmyk(55.2%, 50.9%, 0%, 9%)
CIE-LABlab(52.73, 29.51, -61.18)
CIE-LCHlch(52.73, 67.92, 295.75°)
OKLaboklab(60.4% 0.0188 -0.1749)
OKLCHoklch(60.4% 0.176 276.1)
XYZxyz(26.2871, 20.8021, 78.9583)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872E8 #E8DE68
analogous
#68B2E8 #6872E8 #9E68E8
triadic
#6872E8 #E86872 #72E868
tetradic
#6872E8 #E868B2 #E8DE68 #68E89E
square
#6872E8 #E868B2 #E8DE68 #68E89E
split-complementary
#6872E8 #E89E68 #B2E868
monochromatic
#1C29B9 #3340E0 #6872E8 #9DA4F0 #D2D5F8

Accessibility & contrast

On white

4.07
#6872E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6872E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872E8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872E8#FFFFFF#000000##000000
##6872E81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#1C79E6
Tritanopia (blue-blind)
#238DA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6872e8;
/* rgb */ color: rgb(104, 114, 232);
/* oklch */ color: oklch(60.4% 0.176 276.1);
Tailwind
colors: {
  custom: {
    50: '#9c9af0',
    500: '#6872e8',
    950: '#000000',
  },
}
SCSS
$custom: #6872e8;
$custom-light: #9c9af0;
$custom-dark: #000000;
JSON
{
  "hex": "#6872e8",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 235.313,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.17589,
    "h": 276.1
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#6872E8
secondary
#EBE8C1
accent
#C610D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6872E8

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

Preview Lab → · Contrast checker → · Palette generator →

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