#6872FC#6872FC

#6872FC is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 61.8% C 0.202 H 275.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6872FC
RGBrgb(104, 114, 252)
HSLhsl(236, 96%, 70%)
HSVhsv(236, 59%, 99%)
CMYKcmyk(58.7%, 54.8%, 0%, 1.2%)
CIE-LABlab(54.03, 35.87, -70.22)
CIE-LCHlch(54.03, 78.85, 297.06°)
OKLaboklab(61.79% 0.0199 -0.2015)
OKLCHoklch(61.79% 0.202 275.6)
XYZxyz(29.2912, 22.0037, 94.7802)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872FC #FCF268
analogous
#68BCFC #6872FC #A868FC
triadic
#6872FC #FC6872 #72FC68
tetradic
#6872FC #FC68BC #FCF268 #68FCA8
square
#6872FC #FC68BC #FCF268 #68FCA8
split-complementary
#6872FC #FCA868 #BCFC68
monochromatic
#0514E5 #2C3AFB #6872FC #A4AAFD #E0E2FE

Accessibility & contrast

On white

3.89
#6872FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#6872FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872FC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872FC#FFFFFF#000000##000000
##6872FC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6872fc;
/* rgb */ color: rgb(104, 114, 252);
/* oklch */ color: oklch(61.8% 0.202 275.6);
Tailwind
colors: {
  custom: {
    50: '#9f9afe',
    500: '#6872fc',
    950: '#000000',
  },
}
SCSS
$custom: #6872fc;
$custom-light: #9f9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#6872fc",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 235.946,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61786,
    "c": 0.20245,
    "h": 275.6
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6872FC

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

Preview Lab → · Contrast checker → · Palette generator →

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