#6866FD#6866FD

#6866FD is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.8% C 0.218 H 278.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6866FD
RGBrgb(104, 102, 253)
HSLhsl(241, 97%, 70%)
HSVhsv(241, 60%, 99%)
CMYKcmyk(58.9%, 59.7%, 0%, 0.8%)
CIE-LABlab(51.31, 43.30, -75.19)
CIE-LCHlch(51.31, 86.77, 299.94°)
OKLaboklab(59.79% 0.0307 -0.2162)
OKLCHoklch(59.79% 0.218 278.1)
XYZxyz(28.1842, 19.5356, 95.1950)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6866FD #FBFD66
analogous
#66AFFD #6866FD #B466FD
triadic
#6866FD #FD6866 #66FD68
tetradic
#6866FD #FD66AF #FBFD66 #66FDB4
square
#6866FD #FD66AF #FBFD66 #66FDB4
split-complementary
#6866FD #FDB466 #AFFD66
monochromatic
#0603E6 #2C2AFC #6866FD #A4A2FE #DFDFFF

Accessibility & contrast

On white

4.28
#6866FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#6866FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6866FD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6866FD#FFFFFF#000000##000000
##6866FD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#008BA8
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6866fd;
/* rgb */ color: rgb(104, 102, 253);
/* oklch */ color: oklch(59.8% 0.218 278.1);
Tailwind
colors: {
  custom: {
    50: '#a092ff',
    500: '#6866fd',
    950: '#000000',
  },
}
SCSS
$custom: #6866fd;
$custom-light: #a092ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6866fd",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 240.795,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.21836,
    "h": 278.1
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6866FD

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

Preview Lab → · Contrast checker → · Palette generator →

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