#6866FB#6866FB

#6866FB is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.6% C 0.216 H 278.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6866FB
RGBrgb(104, 102, 251)
HSLhsl(241, 95%, 69%)
HSVhsv(241, 59%, 98%)
CMYKcmyk(58.6%, 59.4%, 0%, 1.6%)
CIE-LABlab(51.16, 42.67, -74.32)
CIE-LCHlch(51.16, 85.70, 299.86°)
OKLaboklab(59.64% 0.0308 -0.2136)
OKLCHoklch(59.64% 0.216 278.2)
XYZxyz(27.8673, 19.4088, 93.5259)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866FB #F9FB66
analogous
#66AFFB #6866FB #B266FB
triadic
#6866FB #FB6866 #66FB68
tetradic
#6866FB #FB66AF #F9FB66 #66FBB2
square
#6866FB #FB66AF #F9FB66 #66FBB2
split-complementary
#6866FB #FBB266 #AFFB66
monochromatic
#0906E1 #2D2AF9 #6866FB #A3A2FD #DEDDFE

Accessibility & contrast

On white

4.30
#6866FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6866FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866FB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866FB#FFFFFF#000000##000000
##6866FB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0074F8
Tritanopia (blue-blind)
#008AA7
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6866fb;
/* rgb */ color: rgb(104, 102, 251);
/* oklch */ color: oklch(59.6% 0.216 278.2);
Tailwind
colors: {
  custom: {
    50: '#a092fe',
    500: '#6866fb',
    950: '#000000',
  },
}
SCSS
$custom: #6866fb;
$custom-light: #a092fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6866fb",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 240.805,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.59637,
    "c": 0.21584,
    "h": 278.2
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#6866FB
secondary
#F3F4C9
accent
#E600E2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6866FB

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

Preview Lab → · Contrast checker → · Palette generator →

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