#6872FA#6872FA

#6872FA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.6% C 0.200 H 275.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6872FA
RGBrgb(104, 114, 250)
HSLhsl(236, 94%, 69%)
HSVhsv(236, 58%, 98%)
CMYKcmyk(58.4%, 54.4%, 0%, 2%)
CIE-LABlab(53.90, 35.23, -69.33)
CIE-LCHlch(53.90, 77.77, 296.94°)
OKLaboklab(61.64% 0.0198 -0.1988)
OKLCHoklch(61.64% 0.2 275.7)
XYZxyz(28.9760, 21.8776, 93.1198)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872FA #FAF068
analogous
#68BBFA #6872FA #A768FA
triadic
#6872FA #FA6872 #72FA68
tetradic
#6872FA #FA68BB #FAF068 #68FAA7
square
#6872FA #FA68BB #FAF068 #68FAA7
split-complementary
#6872FA #FAA768 #BBFA68
monochromatic
#0716E0 #2D3BF8 #6872FA #A3A9FC #DEE1FE

Accessibility & contrast

On white

3.91
#6872FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#6872FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872FA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872FA#FFFFFF#000000##000000
##6872FA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0887FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6872fa;
/* rgb */ color: rgb(104, 114, 250);
/* oklch */ color: oklch(61.6% 0.200 275.7);
Tailwind
colors: {
  custom: {
    50: '#9f9afd',
    500: '#6872fa',
    950: '#000000',
  },
}
SCSS
$custom: #6872fa;
$custom-light: #9f9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#6872fa",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 235.89,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.19983,
    "h": 275.7
  },
  "luminance": 0.2188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6872FA

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

Preview Lab → · Contrast checker → · Palette generator →

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