#6866ED#6866ED

#6866ED is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.6% C 0.198 H 279.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6866ED
RGBrgb(104, 102, 237)
HSLhsl(241, 79%, 66%)
HSVhsv(241, 57%, 93%)
CMYKcmyk(56.1%, 57%, 0%, 7.1%)
CIE-LABlab(50.17, 38.29, -68.13)
CIE-LCHlch(50.17, 78.15, 299.34°)
OKLaboklab(58.59% 0.0311 -0.1954)
OKLCHoklch(58.59% 0.198 279)
XYZxyz(25.7415, 18.5585, 82.3300)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866ED #EBED66
analogous
#66A8ED #6866ED #AC66ED
triadic
#6866ED #ED6866 #66ED68
tetradic
#6866ED #ED66A8 #EBED66 #66EDAC
square
#6866ED #ED66A8 #EBED66 #66EDAC
split-complementary
#6866ED #EDAC66 #A8ED66
monochromatic
#1917C2 #322FE7 #6866ED #9E9DF3 #D4D4FA

Accessibility & contrast

On white

4.46
#6866ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6866ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866ED
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866ED#FFFFFF#000000##000000
##6866ED1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#1D86A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6866ed;
/* rgb */ color: rgb(104, 102, 237);
/* oklch */ color: oklch(58.6% 0.198 279.0);
Tailwind
colors: {
  custom: {
    50: '#9e92f4',
    500: '#6866ed',
    950: '#000000',
  },
}
SCSS
$custom: #6866ed;
$custom-light: #9e92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6866ed",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 240.889,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58588,
    "c": 0.19786,
    "h": 279
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#6866ED
secondary
#EDEDC2
accent
#DB0AD8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6866ED

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

Preview Lab → · Contrast checker → · Palette generator →

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