#6872F5#6872F5

#6872F5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.3% C 0.193 H 275.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6872F5
RGBrgb(104, 114, 245)
HSLhsl(236, 88%, 68%)
HSVhsv(236, 58%, 96%)
CMYKcmyk(57.6%, 53.5%, 0%, 3.9%)
CIE-LABlab(53.57, 33.64, -67.09)
CIE-LCHlch(53.57, 75.05, 296.63°)
OKLaboklab(61.29% 0.0196 -0.1923)
OKLCHoklch(61.29% 0.193 275.8)
XYZxyz(28.2023, 21.5682, 89.0454)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872F5 #F5EB68
analogous
#68B8F5 #6872F5 #A468F5
triadic
#6872F5 #F56872 #72F568
tetradic
#6872F5 #F568B8 #F5EB68 #68F5A4
square
#6872F5 #F568B8 #F5EB68 #68F5A4
split-complementary
#6872F5 #F5A468 #B8F568
monochromatic
#0E1CD5 #2F3CF1 #6872F5 #A1A8F9 #DBDDFD

Accessibility & contrast

On white

3.95
#6872F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6872F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872F5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872F5#FFFFFF#000000##000000
##6872F51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6872f5;
/* rgb */ color: rgb(104, 114, 245);
/* oklch */ color: oklch(61.3% 0.193 275.8);
Tailwind
colors: {
  custom: {
    50: '#9e9af9',
    500: '#6872f5',
    950: '#000000',
  },
}
SCSS
$custom: #6872f5;
$custom-light: #9e9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#6872f5",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 235.745,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61291,
    "c": 0.19326,
    "h": 275.8
  },
  "luminance": 0.2157
}

Semantic roles & 50–950 ramp

primary
#6872F5
secondary
#F2EFC7
accent
#D401E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6872F5

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

Preview Lab → · Contrast checker → · Palette generator →

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