#6872FB#6872FB

#6872FB is a mid, highly saturated blue. Relative luminance 0.219; OKLCH L 61.7% C 0.201 H 275.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6872FB
RGBrgb(104, 114, 251)
HSLhsl(236, 95%, 70%)
HSVhsv(236, 59%, 98%)
CMYKcmyk(58.6%, 54.6%, 0%, 1.6%)
CIE-LABlab(53.96, 35.55, -69.78)
CIE-LCHlch(53.96, 78.31, 297.00°)
OKLaboklab(61.72% 0.0198 -0.2002)
OKLCHoklch(61.72% 0.201 275.7)
XYZxyz(29.1332, 21.9405, 93.9478)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872FB #FBF168
analogous
#68BCFB #6872FB #A768FB
triadic
#6872FB #FB6872 #72FB68
tetradic
#6872FB #FB68BC #FBF168 #68FBA7
square
#6872FB #FB68BC #FBF168 #68FBA7
split-complementary
#6872FB #FBA768 #BCFB68
monochromatic
#0615E3 #2C3AF9 #6872FB #A4AAFD #DFE1FE

Accessibility & contrast

On white

3.90
#6872FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6872FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872FB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872FB#FFFFFF#000000##000000
##6872FB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6872fb;
/* rgb */ color: rgb(104, 114, 251);
/* oklch */ color: oklch(61.7% 0.201 275.7);
Tailwind
colors: {
  custom: {
    50: '#9f9afd',
    500: '#6872fb',
    950: '#000000',
  },
}
SCSS
$custom: #6872fb;
$custom-light: #9f9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#6872fb",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 235.918,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.20114,
    "h": 275.7
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6872FB

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

Preview Lab → · Contrast checker → · Palette generator →

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