#6872F4#6872F4

#6872F4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.2% C 0.192 H 275.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6872F4
RGBrgb(104, 114, 244)
HSLhsl(236, 86%, 68%)
HSVhsv(236, 57%, 96%)
CMYKcmyk(57.4%, 53.3%, 0%, 4.3%)
CIE-LABlab(53.50, 33.32, -66.64)
CIE-LCHlch(53.50, 74.51, 296.57°)
OKLaboklab(61.22% 0.0196 -0.1909)
OKLCHoklch(61.22% 0.192 275.8)
XYZxyz(28.0501, 21.5073, 88.2436)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872F4 #F4EA68
analogous
#68B8F4 #6872F4 #A468F4
triadic
#6872F4 #F46872 #72F468
tetradic
#6872F4 #F468B8 #F4EA68 #68F4A4
square
#6872F4 #F468B8 #F4EA68 #68F4A4
split-complementary
#6872F4 #F4A468 #B8F468
monochromatic
#0F1DD2 #2F3DF0 #6872F4 #A1A7F8 #DADDFC

Accessibility & contrast

On white

3.96
#6872F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6872F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872F4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872F4#FFFFFF#000000##000000
##6872F41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E86F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6872f4;
/* rgb */ color: rgb(104, 114, 244);
/* oklch */ color: oklch(61.2% 0.192 275.8);
Tailwind
colors: {
  custom: {
    50: '#9e9af9',
    500: '#6872f4',
    950: '#000000',
  },
}
SCSS
$custom: #6872f4;
$custom-light: #9e9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#6872f4",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 235.714,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.19194,
    "h": 275.8
  },
  "luminance": 0.21509
}

Semantic roles & 50–950 ramp

primary
#6872F4
secondary
#F1EEC7
accent
#D303E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6872F4

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

Preview Lab → · Contrast checker → · Palette generator →

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