#6872CB#6872CB

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

Color values

HEX#6872CB
RGBrgb(104, 114, 203)
HSLhsl(234, 49%, 60%)
HSVhsv(234, 49%, 80%)
CMYKcmyk(48.8%, 43.8%, 0%, 20.4%)
CIE-LABlab(51.02, 20.42, -47.52)
CIE-LCHlch(51.02, 51.72, 293.26°)
OKLaboklab(58.55% 0.0154 -0.1348)
OKLCHoklch(58.55% 0.136 276.5)
XYZxyz(22.5024, 19.2882, 59.0256)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872CB #CBC168
analogous
#68A4CB #6872CB #8F68CB
triadic
#6872CB #CB6872 #72CB68
tetradic
#6872CB #CB68A4 #CBC168 #68CB8F
square
#6872CB #CB68A4 #CBC168 #68CB8F
split-complementary
#6872CB #CB8F68 #A4CB68
monochromatic
#2F3889 #3F4BB7 #6872CB #969DDB #C3C7EA

Accessibility & contrast

On white

4.32
#6872CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6872CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872CB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872CB#FFFFFF#000000##000000
##6872CB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECE
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#428595
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6872cb;
/* rgb */ color: rgb(104, 114, 203);
/* oklch */ color: oklch(58.6% 0.136 276.5);
Tailwind
colors: {
  custom: {
    50: '#999adb',
    500: '#6872cb',
    950: '#000000',
  },
}
SCSS
$custom: #6872cb;
$custom-light: #999adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6872cb",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 233.939,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.13564,
    "h": 276.5
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#6872CB
secondary
#DAD7B4
accent
#AD29BC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6872CB

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

Preview Lab → · Contrast checker → · Palette generator →

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