#6872CC#6872CC

#6872CC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.137 H 276.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6872CC
RGBrgb(104, 114, 204)
HSLhsl(234, 50%, 60%)
HSVhsv(234, 49%, 80%)
CMYKcmyk(49%, 44.1%, 0%, 20%)
CIE-LABlab(51.08, 20.73, -48.00)
CIE-LCHlch(51.08, 52.29, 293.36°)
OKLaboklab(58.61% 0.0156 -0.1362)
OKLCHoklch(58.61% 0.137 276.5)
XYZxyz(22.6219, 19.3360, 59.6552)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872CC #CCC268
analogous
#68A4CC #6872CC #9068CC
triadic
#6872CC #CC6872 #72CC68
tetradic
#6872CC #CC68A4 #CCC268 #68CC90
square
#6872CC #CC68A4 #CCC268 #68CC90
split-complementary
#6872CC #CC9068 #A4CC68
monochromatic
#2F388B #3E4BB8 #6872CC #969DDB #C3C7EB

Accessibility & contrast

On white

4.31
#6872CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6872CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872CC#FFFFFF#000000##000000
##6872CC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#418595
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6872cc;
/* rgb */ color: rgb(104, 114, 204);
/* oklch */ color: oklch(58.6% 0.137 276.5);
Tailwind
colors: {
  custom: {
    50: '#999adc',
    500: '#6872cc',
    950: '#000000',
  },
}
SCSS
$custom: #6872cc;
$custom-light: #999adc;
$custom-dark: #000000;
JSON
{
  "hex": "#6872cc",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 234,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.13706,
    "h": 276.5
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#6872CC
secondary
#DBD7B5
accent
#AE29BD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6872CC

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

Preview Lab → · Contrast checker → · Palette generator →

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