#6866EB#6866EB

#6866EB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.4% C 0.195 H 279.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6866EB
RGBrgb(104, 102, 235)
HSLhsl(241, 77%, 66%)
HSVhsv(241, 57%, 92%)
CMYKcmyk(55.7%, 56.6%, 0%, 7.8%)
CIE-LABlab(50.03, 37.67, -67.23)
CIE-LCHlch(50.03, 77.06, 299.26°)
OKLaboklab(58.44% 0.0311 -0.1928)
OKLCHoklch(58.44% 0.195 279.2)
XYZxyz(25.4510, 18.4423, 80.7997)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866EB #E9EB66
analogous
#66A6EB #6866EB #AA66EB
triadic
#6866EB #EB6866 #66EB68
tetradic
#6866EB #EB66A6 #E9EB66 #66EBAA
square
#6866EB #EB66A6 #E9EB66 #66EBAA
split-complementary
#6866EB #EBAA66 #A6EB66
monochromatic
#1B19BE #3330E4 #6866EB #9D9CF2 #D3D2F9

Accessibility & contrast

On white

4.48
#6866EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6866EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866EB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866EB#FFFFFF#000000##000000
##6866EB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#21859F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6866eb;
/* rgb */ color: rgb(104, 102, 235);
/* oklch */ color: oklch(58.4% 0.195 279.2);
Tailwind
colors: {
  custom: {
    50: '#9e92f2',
    500: '#6866eb',
    950: '#000000',
  },
}
SCSS
$custom: #6866eb;
$custom-light: #9e92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6866eb",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 240.902,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58442,
    "c": 0.19525,
    "h": 279.2
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#6866EB
secondary
#ECECC1
accent
#D90CD6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6866EB

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

Preview Lab → · Contrast checker → · Palette generator →

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