#6872CA#6872CA

#6872CA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.134 H 276.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6872CA
RGBrgb(104, 114, 202)
HSLhsl(234, 48%, 60%)
HSVhsv(234, 49%, 79%)
CMYKcmyk(48.5%, 43.6%, 0%, 20.8%)
CIE-LABlab(50.97, 20.12, -47.04)
CIE-LCHlch(50.97, 51.16, 293.15°)
OKLaboklab(58.49% 0.0153 -0.1333)
OKLCHoklch(58.49% 0.134 276.5)
XYZxyz(22.3836, 19.2407, 58.4000)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872CA #CAC068
analogous
#68A3CA #6872CA #8F68CA
triadic
#6872CA #CA6872 #72CA68
tetradic
#6872CA #CA68A3 #CAC068 #68CA8F
square
#6872CA #CA68A3 #CAC068 #68CA8F
split-complementary
#6872CA #CA8F68 #A3CA68
monochromatic
#303988 #404CB5 #6872CA #959CDA #C3C7EA

Accessibility & contrast

On white

4.33
#6872CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6872CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872CA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872CA#FFFFFF#000000##000000
##6872CA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#428594
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6872ca;
/* rgb */ color: rgb(104, 114, 202);
/* oklch */ color: oklch(58.5% 0.134 276.5);
Tailwind
colors: {
  custom: {
    50: '#999ada',
    500: '#6872ca',
    950: '#000000',
  },
}
SCSS
$custom: #6872ca;
$custom-light: #999ada;
$custom-dark: #000000;
JSON
{
  "hex": "#6872ca",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 233.878,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.13421,
    "h": 276.5
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#6872CA
secondary
#DAD6B4
accent
#CA50D8
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6872CA

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

Preview Lab → · Contrast checker → · Palette generator →

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