#6866D4#6866D4

#6866D4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.165 H 280.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6866D4
RGBrgb(104, 102, 212)
HSLhsl(241, 56%, 62%)
HSVhsv(241, 52%, 83%)
CMYKcmyk(50.9%, 51.9%, 0%, 16.9%)
CIE-LABlab(48.51, 30.52, -56.68)
CIE-LCHlch(48.51, 64.37, 298.30°)
OKLaboklab(56.83% 0.0303 -0.1617)
OKLCHoklch(56.83% 0.165 280.6)
XYZxyz(22.3403, 17.1980, 64.4170)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866D4 #D2D466
analogous
#669BD4 #6866D4 #9F66D4
triadic
#6866D4 #D46866 #66D468
tetradic
#6866D4 #D4669B #D2D466 #66D49F
square
#6866D4 #D4669B #D2D466 #66D49F
split-complementary
#6866D4 #D49F66 #9BD466
monochromatic
#2C2A96 #3A37C5 #6866D4 #9796E1 #C6C6EF

Accessibility & contrast

On white

4.73
#6866D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6866D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6866D4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866D4#FFFFFF#000000##FFFFFF
##6866D41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D8
Deuteranopia (green-blind)
#216FD2
Tritanopia (blue-blind)
#3C7E93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6866d4;
/* rgb */ color: rgb(104, 102, 212);
/* oklch */ color: oklch(56.8% 0.165 280.6);
Tailwind
colors: {
  custom: {
    50: '#9a91e2',
    500: '#6866d4',
    950: '#000000',
  },
}
SCSS
$custom: #6866d4;
$custom-light: #9a91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6866d4",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 241.091,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.16454,
    "h": 280.6
  },
  "luminance": 0.17199
}

Semantic roles & 50–950 ramp

primary
#6866D4
secondary
#DFDFB6
accent
#C422C1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0D15
muted
#7E7D83

Preview Lab

Preview with #6866D4

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

Preview Lab → · Contrast checker → · Palette generator →

#6866D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva