#6872F3#6872F3

#6872F3 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.2% C 0.191 H 275.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6872F3
RGBrgb(104, 114, 243)
HSLhsl(236, 85%, 68%)
HSVhsv(236, 57%, 95%)
CMYKcmyk(57.2%, 53.1%, 0%, 4.7%)
CIE-LABlab(53.44, 33.00, -66.19)
CIE-LCHlch(53.44, 73.96, 296.50°)
OKLaboklab(61.15% 0.0195 -0.1896)
OKLCHoklch(61.15% 0.191 275.9)
XYZxyz(27.8987, 21.4467, 87.4461)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872F3 #F3E968
analogous
#68B8F3 #6872F3 #A368F3
triadic
#6872F3 #F36872 #72F368
tetradic
#6872F3 #F368B8 #F3E968 #68F3A3
square
#6872F3 #F368B8 #F3E968 #68F3A3
split-complementary
#6872F3 #F3A368 #B8F368
monochromatic
#111ED0 #2F3DEE #6872F3 #A1A7F8 #D9DCFC

Accessibility & contrast

On white

3.97
#6872F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6872F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872F3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872F3#FFFFFF#000000##000000
##6872F31.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2086F7
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0290A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6872f3;
/* rgb */ color: rgb(104, 114, 243);
/* oklch */ color: oklch(61.2% 0.191 275.9);
Tailwind
colors: {
  custom: {
    50: '#9e9af8',
    500: '#6872f3',
    950: '#000000',
  },
}
SCSS
$custom: #6872f3;
$custom-light: #9e9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#6872f3",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 235.683,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.19061,
    "h": 275.9
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#6872F3
secondary
#F1EEC6
accent
#D204E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6872F3

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

Preview Lab → · Contrast checker → · Palette generator →

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