#6872F2#6872F2

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

Color values

HEX#6872F2
RGBrgb(104, 114, 242)
HSLhsl(236, 84%, 68%)
HSVhsv(236, 57%, 95%)
CMYKcmyk(57%, 52.9%, 0%, 5.1%)
CIE-LABlab(53.37, 32.68, -65.74)
CIE-LCHlch(53.37, 73.41, 296.44°)
OKLaboklab(61.08% 0.0194 -0.1883)
OKLCHoklch(61.08% 0.189 275.9)
XYZxyz(27.7481, 21.3865, 86.6530)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872F2 #F2E868
analogous
#68B7F2 #6872F2 #A368F2
triadic
#6872F2 #F26872 #72F268
tetradic
#6872F2 #F268B7 #F2E868 #68F2A3
square
#6872F2 #F268B7 #F2E868 #68F2A3
split-complementary
#6872F2 #F2A368 #B7F268
monochromatic
#121FCE #303DED #6872F2 #A0A7F7 #D9DBFC

Accessibility & contrast

On white

3.98
#6872F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6872F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872F2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872F2#FFFFFF#000000##000000
##6872F21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0790A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6872f2;
/* rgb */ color: rgb(104, 114, 242);
/* oklch */ color: oklch(61.1% 0.189 275.9);
Tailwind
colors: {
  custom: {
    50: '#9e9af7',
    500: '#6872f2',
    950: '#000000',
  },
}
SCSS
$custom: #6872f2;
$custom-light: #9e9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#6872f2",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 235.652,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61082,
    "c": 0.18929,
    "h": 275.9
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#6872F2
secondary
#F0EDC6
accent
#D105E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6872F2

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

Preview Lab → · Contrast checker → · Palette generator →

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