#6872EE#6872EE

#6872EE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.184 H 276.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6872EE
RGBrgb(104, 114, 238)
HSLhsl(236, 80%, 67%)
HSVhsv(236, 56%, 93%)
CMYKcmyk(56.3%, 52.1%, 0%, 6.7%)
CIE-LABlab(53.11, 31.41, -63.92)
CIE-LCHlch(53.11, 71.22, 296.17°)
OKLaboklab(60.81% 0.0192 -0.1829)
OKLCHoklch(60.81% 0.184 276)
XYZxyz(27.1539, 21.1488, 83.5236)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872EE #EEE468
analogous
#68B5EE #6872EE #A168EE
triadic
#6872EE #EE6872 #72EE68
tetradic
#6872EE #EE68B5 #EEE468 #68EEA1
square
#6872EE #EE68B5 #EEE468 #68EEA1
split-complementary
#6872EE #EEA168 #B5EE68
monochromatic
#1623C5 #313FE8 #6872EE #9FA5F4 #D6D9FA

Accessibility & contrast

On white

4.02
#6872EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6872EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872EE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872EE#FFFFFF#000000##000000
##6872EE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#0279EB
Tritanopia (blue-blind)
#168EA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6872ee;
/* rgb */ color: rgb(104, 114, 238);
/* oklch */ color: oklch(60.8% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#9d9af4',
    500: '#6872ee',
    950: '#000000',
  },
}
SCSS
$custom: #6872ee;
$custom-light: #9d9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#6872ee",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 235.522,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60806,
    "c": 0.18396,
    "h": 276
  },
  "luminance": 0.21151
}

Semantic roles & 50–950 ramp

primary
#6872EE
secondary
#EEEBC4
accent
#CC09DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6872EE

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

Preview Lab → · Contrast checker → · Palette generator →

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