#6C6DFE#6C6DFE

#6C6DFE is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.3% C 0.210 H 277.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6C6DFE
RGBrgb(108, 109, 254)
HSLhsl(240, 99%, 71%)
HSVhsv(240, 57%, 100%)
CMYKcmyk(57.5%, 57.1%, 0%, 0.4%)
CIE-LABlab(53.25, 40.16, -72.57)
CIE-LCHlch(53.25, 82.95, 298.96°)
OKLaboklab(61.32% 0.029 -0.2083)
OKLCHoklch(61.32% 0.21 277.9)
XYZxyz(29.5367, 21.2791, 96.2975)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6DFE #FEFD6C
analogous
#6CB6FE #6C6DFE #B46CFE
triadic
#6C6DFE #FE6C6D #6DFE6C
tetradic
#6C6DFE #FE6CB6 #FEFD6C #6CFEB4
square
#6C6DFE #FE6CB6 #FEFD6C #6CFEB4
split-complementary
#6C6DFE #FEB46C #B6FE6C
monochromatic
#0203EE #2F31FE #6C6DFE #A9A9FE #E1E1FF

Accessibility & contrast

On white

4.00
#6C6DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6C6DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C6DFE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6DFE#FFFFFF#000000##000000
##6C6DFE1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#0090AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6c6dfe;
/* rgb */ color: rgb(108, 109, 254);
/* oklch */ color: oklch(61.3% 0.210 277.9);
Tailwind
colors: {
  custom: {
    50: '#a297ff',
    500: '#6c6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #6c6dfe;
$custom-light: #a297ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6dfe",
  "rgb": {
    "r": 108,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 239.589,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.21034,
    "h": 277.9
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#6C6DFE
secondary
#F6F6CF
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6C6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

#6C6DFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva