#6866EA#6866EA

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

Color values

HEX#6866EA
RGBrgb(104, 102, 234)
HSLhsl(241, 76%, 66%)
HSVhsv(241, 56%, 92%)
CMYKcmyk(55.6%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.96, 37.36, -66.78)
CIE-LCHlch(49.96, 76.52, 299.22°)
OKLaboklab(58.37% 0.0311 -0.1914)
OKLCHoklch(58.37% 0.194 279.2)
XYZxyz(25.3069, 18.3846, 80.0410)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866EA #E8EA66
analogous
#66A6EA #6866EA #AA66EA
triadic
#6866EA #EA6866 #66EA68
tetradic
#6866EA #EA66A6 #E8EA66 #66EAAA
square
#6866EA #EA66A6 #E8EA66 #66EAAA
split-complementary
#6866EA #EAAA66 #A6EA66
monochromatic
#1C1ABC #3330E3 #6866EA #9D9CF1 #D2D2F9

Accessibility & contrast

On white

4.49
#6866EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6866EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866EA#FFFFFF#000000##000000
##6866EA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#23859E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6866ea;
/* rgb */ color: rgb(104, 102, 234);
/* oklch */ color: oklch(58.4% 0.194 279.2);
Tailwind
colors: {
  custom: {
    50: '#9d92f2',
    500: '#6866ea',
    950: '#000000',
  },
}
SCSS
$custom: #6866ea;
$custom-light: #9d92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6866ea",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 240.909,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.19395,
    "h": 279.2
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#6866EA
secondary
#EBECC0
accent
#D80DD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6866EA

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

Preview Lab → · Contrast checker → · Palette generator →

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