#6872FE#6872FE

#6872FE is a mid, highly saturated blue. Relative luminance 0.221; OKLCH L 61.9% C 0.205 H 275.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6872FE
RGBrgb(104, 114, 254)
HSLhsl(236, 99%, 70%)
HSVhsv(236, 59%, 100%)
CMYKcmyk(59.1%, 55.1%, 0%, 0.4%)
CIE-LABlab(54.17, 36.51, -71.11)
CIE-LCHlch(54.17, 79.93, 297.18°)
OKLaboklab(61.93% 0.0199 -0.2041)
OKLCHoklch(61.93% 0.205 275.6)
XYZxyz(29.6098, 22.1312, 96.4581)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872FE #FEF468
analogous
#68BDFE #6872FE #A968FE
triadic
#6872FE #FE6872 #72FE68
tetradic
#6872FE #FE68BD #FEF468 #68FEA9
square
#6872FE #FE68BD #FEF468 #68FEA9
split-complementary
#6872FE #FEA968 #BDFE68
monochromatic
#0211EA #2B39FE #6872FE #A5ABFE #E1E3FF

Accessibility & contrast

On white

3.87
#6872FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6872FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872FE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872FE#FFFFFF#000000##000000
##6872FE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#0093AD
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6872fe;
/* rgb */ color: rgb(104, 114, 254);
/* oklch */ color: oklch(61.9% 0.205 275.6);
Tailwind
colors: {
  custom: {
    50: '#a09aff',
    500: '#6872fe',
    950: '#000000',
  },
}
SCSS
$custom: #6872fe;
$custom-light: #a09aff;
$custom-dark: #000000;
JSON
{
  "hex": "#6872fe",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 236,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6193,
    "c": 0.20506,
    "h": 275.6
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#6872FE
secondary
#F6F3CC
accent
#D600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6872FE

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

Preview Lab → · Contrast checker → · Palette generator →

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