#6872DA#6872DA

#6872DA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.157 H 276.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6872DA
RGBrgb(104, 114, 218)
HSLhsl(235, 61%, 63%)
HSVhsv(235, 52%, 85%)
CMYKcmyk(52.3%, 47.7%, 0%, 14.5%)
CIE-LABlab(51.88, 25.09, -54.67)
CIE-LCHlch(51.88, 60.15, 294.65°)
OKLaboklab(59.48% 0.0175 -0.1557)
OKLCHoklch(59.48% 0.157 276.4)
XYZxyz(24.3771, 20.0381, 68.8993)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872DA #DAD068
analogous
#68ABDA #6872DA #9768DA
triadic
#6872DA #DA6872 #72DA68
tetradic
#6872DA #DA68AB #DAD068 #68DA97
square
#6872DA #DA68AB #DAD068 #68DA97
split-complementary
#6872DA #DA9768 #ABDA68
monochromatic
#2732A0 #3744CE #6872DA #99A0E6 #CACEF2

Accessibility & contrast

On white

4.19
#6872DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6872DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872DA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872DA#FFFFFF#000000##000000
##6872DA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DE
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#35899B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6872da;
/* rgb */ color: rgb(104, 114, 218);
/* oklch */ color: oklch(59.5% 0.157 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b9ae6',
    500: '#6872da',
    950: '#000000',
  },
}
SCSS
$custom: #6872da;
$custom-light: #9b9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#6872da",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 234.737,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59482,
    "c": 0.15672,
    "h": 276.4
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#6872DA
secondary
#E3E0BA
accent
#B91DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6872DA

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

Preview Lab → · Contrast checker → · Palette generator →

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