#6872F0#6872F0

#6872F0 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.187 H 275.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6872F0
RGBrgb(104, 114, 240)
HSLhsl(236, 82%, 67%)
HSVhsv(236, 57%, 94%)
CMYKcmyk(56.7%, 52.5%, 0%, 5.9%)
CIE-LABlab(53.24, 32.05, -64.83)
CIE-LCHlch(53.24, 72.32, 296.30°)
OKLaboklab(60.94% 0.0193 -0.1856)
OKLCHoklch(60.94% 0.187 275.9)
XYZxyz(27.4493, 21.2670, 85.0797)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872F0 #F0E668
analogous
#68B6F0 #6872F0 #A268F0
triadic
#6872F0 #F06872 #72F068
tetradic
#6872F0 #F068B6 #F0E668 #68F0A2
square
#6872F0 #F068B6 #F0E668 #68F0A2
split-complementary
#6872F0 #F0A268 #B6F068
monochromatic
#1421CA #303EEA #6872F0 #A0A6F6 #D7DAFB

Accessibility & contrast

On white

4.00
#6872F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6872F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872F0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872F0#FFFFFF#000000##000000
##6872F01.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F4
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#108FA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6872f0;
/* rgb */ color: rgb(104, 114, 240);
/* oklch */ color: oklch(60.9% 0.187 275.9);
Tailwind
colors: {
  custom: {
    50: '#9e9af6',
    500: '#6872f0',
    950: '#000000',
  },
}
SCSS
$custom: #6872f0;
$custom-light: #9e9af6;
$custom-dark: #000000;
JSON
{
  "hex": "#6872f0",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 235.588,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.18662,
    "h": 275.9
  },
  "luminance": 0.21269
}

Semantic roles & 50–950 ramp

primary
#6872F0
secondary
#EFECC5
accent
#CE07DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6872F0

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

Preview Lab → · Contrast checker → · Palette generator →

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