#6866EC#6866EC

#6866EC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.5% C 0.197 H 279.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6866EC
RGBrgb(104, 102, 236)
HSLhsl(241, 78%, 66%)
HSVhsv(241, 57%, 93%)
CMYKcmyk(55.9%, 56.8%, 0%, 7.5%)
CIE-LABlab(50.10, 37.98, -67.68)
CIE-LCHlch(50.10, 77.61, 299.30°)
OKLaboklab(58.51% 0.0311 -0.1941)
OKLCHoklch(58.51% 0.197 279.1)
XYZxyz(25.5958, 18.5002, 81.5627)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866EC #EAEC66
analogous
#66A7EC #6866EC #AB66EC
triadic
#6866EC #EC6866 #66EC68
tetradic
#6866EC #EC66A7 #EAEC66 #66ECAB
square
#6866EC #EC66A7 #EAEC66 #66ECAB
split-complementary
#6866EC #ECAB66 #A7EC66
monochromatic
#1A18C0 #3230E5 #6866EC #9E9CF3 #D3D3FA

Accessibility & contrast

On white

4.47
#6866EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#6866EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866EC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866EC#FFFFFF#000000##000000
##6866EC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#1F869F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6866ec;
/* rgb */ color: rgb(104, 102, 236);
/* oklch */ color: oklch(58.5% 0.197 279.1);
Tailwind
colors: {
  custom: {
    50: '#9e92f3',
    500: '#6866ec',
    950: '#000000',
  },
}
SCSS
$custom: #6866ec;
$custom-light: #9e92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6866ec",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 240.896,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.19656,
    "h": 279.1
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

primary
#6866EC
secondary
#ECEDC1
accent
#DA0BD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6866EC

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

Preview Lab → · Contrast checker → · Palette generator →

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