#6866F2#6866F2

#6866F2 is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 59.0% C 0.204 H 278.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6866F2
RGBrgb(104, 102, 242)
HSLhsl(241, 84%, 67%)
HSVhsv(241, 58%, 95%)
CMYKcmyk(57%, 57.9%, 0%, 5.1%)
CIE-LABlab(50.52, 39.86, -70.36)
CIE-LCHlch(50.52, 80.86, 299.53°)
OKLaboklab(58.96% 0.031 -0.202)
OKLCHoklch(58.96% 0.204 278.7)
XYZxyz(26.4822, 18.8548, 86.2310)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866F2 #F0F266
analogous
#66AAF2 #6866F2 #AE66F2
triadic
#6866F2 #F26866 #66F268
tetradic
#6866F2 #F266AA #F0F266 #66F2AE
square
#6866F2 #F266AA #F0F266 #66F2AE
split-complementary
#6866F2 #F2AE66 #AAF266
monochromatic
#1411CC #302EED #6866F2 #A09EF7 #D7D7FC

Accessibility & contrast

On white

4.40
#6866F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6866F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866F2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866F2#FFFFFF#000000##000000
##6866F21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#0F87A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6866f2;
/* rgb */ color: rgb(104, 102, 242);
/* oklch */ color: oklch(59.0% 0.204 278.7);
Tailwind
colors: {
  custom: {
    50: '#9f92f7',
    500: '#6866f2',
    950: '#000000',
  },
}
SCSS
$custom: #6866f2;
$custom-light: #9f92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6866f2",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 240.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.20434,
    "h": 278.7
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#6866F2
secondary
#EFF0C4
accent
#E105DE
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6866F2

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

Preview Lab → · Contrast checker → · Palette generator →

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