#6866EF#6866EF

#6866EF is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 58.7% C 0.200 H 278.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6866EF
RGBrgb(104, 102, 239)
HSLhsl(241, 81%, 67%)
HSVhsv(241, 57%, 94%)
CMYKcmyk(56.5%, 57.3%, 0%, 6.3%)
CIE-LABlab(50.31, 38.92, -69.02)
CIE-LCHlch(50.31, 79.24, 299.42°)
OKLaboklab(58.74% 0.031 -0.198)
OKLCHoklch(58.74% 0.2 278.9)
XYZxyz(26.0353, 18.6760, 83.8775)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866EF #EDEF66
analogous
#66A9EF #6866EF #AD66EF
triadic
#6866EF #EF6866 #66EF68
tetradic
#6866EF #EF66A9 #EDEF66 #66EFAD
square
#6866EF #EF66A9 #EDEF66 #66EFAD
split-complementary
#6866EF #EFAD66 #A9EF66
monochromatic
#1715C6 #312FE9 #6866EF #9F9DF5 #D5D5FB

Accessibility & contrast

On white

4.43
#6866EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6866EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866EF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866EF#FFFFFF#000000##000000
##6866EF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#1886A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6866ef;
/* rgb */ color: rgb(104, 102, 239);
/* oklch */ color: oklch(58.7% 0.200 278.9);
Tailwind
colors: {
  custom: {
    50: '#9e92f5',
    500: '#6866ef',
    950: '#000000',
  },
}
SCSS
$custom: #6866ef;
$custom-light: #9e92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6866ef",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 240.876,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.20046,
    "h": 278.9
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#6866EF
secondary
#EEEEC2
accent
#DD08DA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #6866EF

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

Preview Lab → · Contrast checker → · Palette generator →

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